gandalf-reborn/Data/Migrations/20240921214234_kl├╢hmpdmpmgr.cs
2025-03-02 12:51:02 +01:00

45 lines
1.2 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace W542.GandalfReborn.Data.Migrations
{
/// <inheritdoc />
public partial class klhmpdmpmgr : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Algorithm",
schema: "gr",
table: "AuthCode",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<long>(
name: "SubjectId",
schema: "gr",
table: "AuthCode",
type: "bigint",
nullable: false,
defaultValue: 0L);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Algorithm",
schema: "gr",
table: "AuthCode");
migrationBuilder.DropColumn(
name: "SubjectId",
schema: "gr",
table: "AuthCode");
}
}
}