Add Migration for ServerVehicle Livery

This commit is contained in:
hydrant
2019-07-22 22:19:20 +02:00
parent fbba66852f
commit 3ebba0cadd
3 changed files with 1261 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -786,6 +786,8 @@ namespace ReallifeGamemode.Migrations
b.Property<float>("Heading");
b.Property<int>("Livery");
b.Property<bool>("Locked");
b.Property<uint>("Model");