LANCommander/LANCommander.Server/Migrations/20230115085220_AddScriptRequiresAdminOption.cs
2024-08-04 18:44:33 -05: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");
}
}
}