MigrationsPush

This commit is contained in:
Mac_Slash
2020-04-08 17:18:21 +02:00
parent 9cd5fa3f40
commit ac64661c26
3 changed files with 1472 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 UserPoints : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Points",
table: "Users",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Points",
table: "Users");
}
}
}

View File

@@ -1036,6 +1036,8 @@ namespace ReallifeGamemode.Database.Migrations
b.Property<int>("PaydayTimer"); b.Property<int>("PaydayTimer");
b.Property<int>("Points");
b.Property<float>("PositionX"); b.Property<float>("PositionX");
b.Property<float>("PositionY"); b.Property<float>("PositionY");