using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BrokerApiCore.Migrations { /// public partial class SchemaChanges_122745 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropIndex( name: "IX_planet_exchange_order_amount_total_limits_planet_id", table: "planet_exchange_order_amount_total_limits"); migrationBuilder.DropColumn( name: "PlanetId", table: "planet_exchange_order_amount_user_limits"); migrationBuilder.DropColumn( name: "planet_id", table: "planet_exchange_order_amount_total_limits"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "PlanetId", table: "planet_exchange_order_amount_user_limits", type: "longtext", nullable: false) .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "planet_id", table: "planet_exchange_order_amount_total_limits", type: "varchar(50)", maxLength: 50, nullable: false, defaultValue: "", comment: "플래닛 아이디") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.CreateIndex( name: "IX_planet_exchange_order_amount_total_limits_planet_id", table: "planet_exchange_order_amount_total_limits", column: "planet_id"); } } }