MigrationsPush
This commit is contained in:
1447
ReallifeGamemode.Database/Migrations/20200408151729_UserPoints.Designer.cs
generated
Normal file
1447
ReallifeGamemode.Database/Migrations/20200408151729_UserPoints.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 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");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1036,6 +1036,8 @@ namespace ReallifeGamemode.Database.Migrations
|
||||
|
||||
b.Property<int>("PaydayTimer");
|
||||
|
||||
b.Property<int>("Points");
|
||||
|
||||
b.Property<float>("PositionX");
|
||||
|
||||
b.Property<float>("PositionY");
|
||||
|
||||
Reference in New Issue
Block a user