Add PlaneSchool & DrivingSchool licenses
This commit is contained in:
1343
ReallifeGamemode.Database/Migrations/20191030183018_DriverLicenseVehicle.Designer.cs
generated
Normal file
1343
ReallifeGamemode.Database/Migrations/20191030183018_DriverLicenseVehicle.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
1345
ReallifeGamemode.Database/Migrations/20191030203114_FlyingLicensePlane.Designer.cs
generated
Normal file
1345
ReallifeGamemode.Database/Migrations/20191030203114_FlyingLicensePlane.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user