vassago/Migrations/20250620023827_locales.cs
adam 92988257b6
All checks were successful
gitea.arg.rip/vassago/pipeline/head This commit looks good
localizations. command aliases.
see #19. see #9.
2025-06-20 20:09:44 -04:00

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
}