Files
reallife-gamemode/ReallifeGamemode.Database/Migrations/20200313203304_UserWeaponLicense.cs
2020-05-10 22:54:18 +02:00

24 lines
576 B
C#

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