Files
PL_JusticeBot/Migrations/20231116154850_Migrate16111848.cs
Дмитрий Шиманский b8db704fef add base on map registration
2023-11-16 19:08:16 +03:00

36 lines
1.0 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace DiscordApp.Migrations
{
/// <inheritdoc />
public partial class Migrate16111848 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Redirects",
schema: "public",
columns: table => new
{
Id = table.Column<string>(type: "text", nullable: false),
url = table.Column<string>(type: "text", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Redirects", x => x.Id);
});
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Redirects",
schema: "public");
}
}
}