Authinator/Migrations/20230601012928_AA44F804-8BF6-4DD5-8CAA-270ADB8CE533.cs
2023-06-01 06:14:24 +02:00

40 lines
1.1 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Authinator.Migrations
{
/// <inheritdoc />
public partial class AA44F8048BF64DD58CAA270ADB8CE533 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<bool>(
name: "Enabled",
table: "ACLs",
type: "INTEGER",
nullable: true,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "INTEGER",
oldDefaultValue: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<bool>(
name: "Enabled",
table: "ACLs",
type: "INTEGER",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "INTEGER",
oldNullable: true,
oldDefaultValue: true);
}
}
}