fehlende migration in turf

This commit is contained in:
hydrant
2020-04-05 12:26:35 +02:00
parent 18b316dfe4
commit 005257b3b4
3 changed files with 1470 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.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");
}
}
}

View File

@@ -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");