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

43 lines
1.5 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BrokerApiServer.Migrations
{
/// <inheritdoc />
public partial class SchemaChanges_124658 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "order_id",
table: "sapphire_exchange_order",
type: "varchar(60)",
nullable: false,
comment: "사파이어 교환 주문 아이디 guid",
oldClrType: typeof(string),
oldType: "varchar(50)",
oldComment: "사파이어 교환 주문 아이디 guid")
.Annotation("MySql:CharSet", "utf8mb4")
.OldAnnotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "order_id",
table: "sapphire_exchange_order",
type: "varchar(50)",
nullable: false,
comment: "사파이어 교환 주문 아이디 guid",
oldClrType: typeof(string),
oldType: "varchar(60)",
oldComment: "사파이어 교환 주문 아이디 guid")
.Annotation("MySql:CharSet", "utf8mb4")
.OldAnnotation("MySql:CharSet", "utf8mb4");
}
}
}