using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BrokerApiCore.Migrations { /// public partial class SchemaChanges_124658 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( 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"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( 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"); } } }