30 lines
769 B
C#
30 lines
769 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Authinator.Migrations
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
public partial class _41A84365F7644EE59FA5B219DE00478B : Migration
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<bool>(
|
|||
|
name: "Enabled",
|
|||
|
table: "ACLs",
|
|||
|
type: "INTEGER",
|
|||
|
nullable: false,
|
|||
|
defaultValue: true);
|
|||
|
}
|
|||
|
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "Enabled",
|
|||
|
table: "ACLs");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|