33 lines
937 B
C#
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");
|
|
}
|
|
}
|
|
}
|