LANCommander/LANCommander/Migrations/20230115085220_AddScriptRequiresAdminOption.cs
2023-01-15 03:11:51 -06:00

26 lines
708 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace LANCommander.Migrations
{
public partial class AddScriptRequiresAdminOption : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "RequiresAdmin",
table: "Scripts",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RequiresAdmin",
table: "Scripts");
}
}
}