초기커밋
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BrokerApiCore.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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user