37 lines
1 KiB
C#
37 lines
1 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Authinator.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class CF94C7EDB8BA4672A13B3333C9774810 : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<bool>(
|
|
name: "Enabled",
|
|
table: "ACLs",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
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");
|
|
}
|
|
}
|
|
}
|