Add PlaneSchool & DrivingSchool licenses

This commit is contained in:
Michael
2019-10-30 22:22:33 +01:00
parent 5274fa654f
commit d3bd1cce59
8 changed files with 2787 additions and 22 deletions

File diff suppressed because it is too large Load Diff

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -905,6 +905,8 @@ namespace ReallifeGamemode.Database.Migrations
b.Property<bool>("Dead");
b.Property<bool>("DriverLicenseVehicle");
b.Property<string>("Email")
.HasMaxLength(64);
@@ -914,6 +916,8 @@ namespace ReallifeGamemode.Database.Migrations
b.Property<int?>("FactionRankId");
b.Property<bool>("FlyingLicensePlane");
b.Property<int?>("GroupId");
b.Property<int>("GroupRank");