| 12345678910111213141516171819202122232425262728293031 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace Infrastructure.Migrations.AppDb
- {
- /// <inheritdoc />
- public partial class AddCoinMarket : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<string>(
- name: "Market",
- table: "Coin",
- type: "nvarchar(30)",
- maxLength: 30,
- nullable: false,
- defaultValue: "",
- comment: "거래쌍 (KRW-BTC 등)");
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Market",
- table: "Coin");
- }
- }
- }
|