mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 23:18:56 -07:00
70 lines
1.9 KiB
C#
70 lines
1.9 KiB
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace RadicadeServer.Migrations
|
|
{
|
|
|
|
public partial class AddBanAppealFlow : Migration
|
|
{
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "AppealCode",
|
|
table: "Moderation",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "AppealContact",
|
|
table: "Moderation",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "AppealResolution",
|
|
table: "Moderation",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<DateTime>(
|
|
name: "AppealSubmittedAt",
|
|
table: "Moderation",
|
|
type: "datetime2",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "AppealText",
|
|
table: "Moderation",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
}
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "AppealCode",
|
|
table: "Moderation");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "AppealContact",
|
|
table: "Moderation");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "AppealResolution",
|
|
table: "Moderation");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "AppealSubmittedAt",
|
|
table: "Moderation");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "AppealText",
|
|
table: "Moderation");
|
|
}
|
|
}
|
|
}
|