fix migration

This commit is contained in:
hydrant
2020-04-27 15:15:11 +02:00
parent 4a3acce1ba
commit 59b7178590
4 changed files with 12 additions and 9 deletions

View File

@@ -0,0 +1,33 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace ReallifeGamemode.Database.Migrations
{
public partial class UserJobSkillBusPilot : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "BusSkill",
table: "Users",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "PilotSkill",
table: "Users",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "BusSkill",
table: "Users");
migrationBuilder.DropColumn(
name: "PilotSkill",
table: "Users");
}
}
}