Files
reallife-gamemode/ReallifeGamemode.Database/Migrations/20210429134927_AddDoorAlwaysOpenFlag.cs
2021-04-29 17:10:11 +02:00

24 lines
652 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace ReallifeGamemode.Database.Migrations
{
public partial class AddDoorAlwaysOpenFlag : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "AlwaysOpen",
table: "Doors",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AlwaysOpen",
table: "Doors");
}
}
}