fehlende migration in turf
This commit is contained in:
1445
ReallifeGamemode.Database/Migrations/20200405102619_TurfMaxValue.Designer.cs
generated
Normal file
1445
ReallifeGamemode.Database/Migrations/20200405102619_TurfMaxValue.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 TurfMaxValue : Migration
|
||||||
|
{
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AddColumn<int>(
|
||||||
|
name: "MaxValue",
|
||||||
|
table: "Turfs",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "MaxValue",
|
||||||
|
table: "Turfs");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -957,6 +957,8 @@ namespace ReallifeGamemode.Database.Migrations
|
|||||||
|
|
||||||
b.Property<int?>("FactionId");
|
b.Property<int?>("FactionId");
|
||||||
|
|
||||||
|
b.Property<int>("MaxValue");
|
||||||
|
|
||||||
b.Property<string>("Name");
|
b.Property<string>("Name");
|
||||||
|
|
||||||
b.Property<string>("Owner");
|
b.Property<string>("Owner");
|
||||||
|
|||||||
Reference in New Issue
Block a user