| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace Infrastructure.Migrations.AppDb
- {
- /// <inheritdoc />
- public partial class AddSignupRewardConfig : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<int>(
- name: "SignupReward_CashAmount",
- table: "Config",
- type: "int",
- nullable: false,
- defaultValue: 0,
- comment: "지급 캐시 (Adjusted)");
- migrationBuilder.AddColumn<int>(
- name: "SignupReward_CoinAmount",
- table: "Config",
- type: "int",
- nullable: false,
- defaultValue: 0,
- comment: "지급 코인 (Airdrop)");
- migrationBuilder.AddColumn<bool>(
- name: "SignupReward_Enabled",
- table: "Config",
- type: "bit",
- nullable: false,
- defaultValue: false,
- comment: "가입 축하 보상 활성화");
- migrationBuilder.AddColumn<int>(
- name: "SignupReward_ExpAmount",
- table: "Config",
- type: "int",
- nullable: false,
- defaultValue: 0,
- comment: "지급 경험치");
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "SignupReward_CashAmount",
- table: "Config");
- migrationBuilder.DropColumn(
- name: "SignupReward_CoinAmount",
- table: "Config");
- migrationBuilder.DropColumn(
- name: "SignupReward_Enabled",
- table: "Config");
- migrationBuilder.DropColumn(
- name: "SignupReward_ExpAmount",
- table: "Config");
- }
- }
- }
|