Files
reallife-gamemode/ReallifeGamemode.Server/Migrations/20190706132925_UserWage.cs
2020-05-10 22:54:18 +02:00

24 lines
544 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace ReallifeGamemode.Database.Migrations
{
public partial class UserWage : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Wage",
table: "Users",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Wage",
table: "Users");
}
}
}