forked from adam/discord-bot-shtik
All checks were successful
gitea.arg.rip/vassago/pipeline/head This commit looks good
see #19. see #9.
41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace vassago.Migrations
|
|
{
|
|
#pragma warning disable 8981
|
|
/// <inheritdoc />
|
|
public partial class locales : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "Localization",
|
|
table: "UACs",
|
|
newName: "Translations");
|
|
|
|
migrationBuilder.RenameColumn(
|
|
name: "CommandAliases",
|
|
table: "UACs",
|
|
newName: "CommandAlterations");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "Translations",
|
|
table: "UACs",
|
|
newName: "Localization");
|
|
|
|
migrationBuilder.RenameColumn(
|
|
name: "CommandAlterations",
|
|
table: "UACs",
|
|
newName: "CommandAliases");
|
|
}
|
|
}
|
|
#pragma warning restore 8981
|
|
}
|