Files
caliverse_server/BrokerApiCore/Migrations/20250314055515_SchemaChanges_145503.cs
2025-05-01 07:23:28 +09:00

33 lines
937 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BrokerApiServer.Migrations
{
/// <inheritdoc />
public partial class SchemaChanges_145503 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "season_id",
table: "planet_exchange_orders",
type: "varchar(50)",
maxLength: 50,
nullable: false,
defaultValue: "",
comment: "시즌 아이디")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "season_id",
table: "planet_exchange_orders");
}
}
}