40 lines
1.1 KiB
C#
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);
|
|
}
|
|
}
|
|
}
|