Authinator/Migrations/20230601024718_85193883-1F4F-42DD-AAE7-4FC4C6C701C0.cs
2023-06-01 06:14:24 +02:00

37 lines
1 KiB
C#

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