13 protected override void Up(MigrationBuilder migrationBuilder)
15 ArgumentNullException.ThrowIfNull(migrationBuilder);
17 migrationBuilder.DropColumn(
18 name:
"ChatChannelsJson",
19 table:
"ReattachInformations");
21 migrationBuilder.DropColumn(
22 name:
"ChatCommandsJson",
23 table:
"ReattachInformations");
25 migrationBuilder.AddColumn<
int>(
26 name:
"LaunchSecurityLevel",
27 table:
"ReattachInformations",
33 protected override void Down(MigrationBuilder migrationBuilder)
35 ArgumentNullException.ThrowIfNull(migrationBuilder);
37 migrationBuilder.DropColumn(
38 name:
"LaunchSecurityLevel",
39 table:
"ReattachInformations");
41 migrationBuilder.AddColumn<
string>(
42 name:
"ChatChannelsJson",
43 table:
"ReattachInformations",
44 type:
"nvarchar(max)",
46 defaultValue:
"chat_channels.tgs.json");
48 migrationBuilder.AddColumn<
string>(
49 name:
"ChatCommandsJson",
50 table:
"ReattachInformations",
51 type:
"nvarchar(max)",
53 defaultValue:
"chat_commands.tgs.json");