Add Migration for ServerVehicle Livery
This commit is contained in:
1236
ReallifeGamemode.Server/Migrations/20190722201850_VehicleLivery.Designer.cs
generated
Normal file
1236
ReallifeGamemode.Server/Migrations/20190722201850_VehicleLivery.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.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");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -786,6 +786,8 @@ namespace ReallifeGamemode.Migrations
|
||||
|
||||
b.Property<float>("Heading");
|
||||
|
||||
b.Property<int>("Livery");
|
||||
|
||||
b.Property<bool>("Locked");
|
||||
|
||||
b.Property<uint>("Model");
|
||||
|
||||
Reference in New Issue
Block a user