| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace Infrastructure.Migrations.AppDb;
- /// <inheritdoc />
- public partial class AddAttendanceRankBonus : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<string>(
- name: "Attendance_RankBonusConfig",
- table: "Config",
- type: "nvarchar(2000)",
- maxLength: 2000,
- nullable: true,
- comment: "순위별 보상 설정 (JSON)");
- migrationBuilder.AddColumn<bool>(
- name: "Attendance_UseRankBonus",
- table: "Config",
- type: "bit",
- nullable: false,
- defaultValue: false,
- comment: "순위 보상 사용");
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Attendance_RankBonusConfig",
- table: "Config");
- migrationBuilder.DropColumn(
- name: "Attendance_UseRankBonus",
- table: "Config");
- }
- }
|