forked from Eauldane/SnowcloakServer
30 lines
903 B
C#
30 lines
903 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace MareSynchronosServer.Migrations
|
|
{
|
|
public partial class AddBannedRegistrations : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateTable(
|
|
name: "banned_registrations",
|
|
columns: table => new
|
|
{
|
|
discord_id_or_lodestone_auth = table.Column<string>(type: "text", nullable: false)
|
|
},
|
|
constraints: table =>
|
|
{
|
|
table.PrimaryKey("pk_banned_registrations", x => x.discord_id_or_lodestone_auth);
|
|
});
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropTable(
|
|
name: "banned_registrations");
|
|
}
|
|
}
|
|
}
|