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

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