Add Wanted propert to user entity

This commit is contained in:
hydrant
2019-06-26 16:47:24 +02:00
parent 7986c137ac
commit c8155074d3
4 changed files with 1156 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.Migrations
{
public partial class ClientWanteds : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Wanteds",
table: "Users",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Wanteds",
table: "Users");
}
}
}

View File

@@ -802,6 +802,8 @@ namespace ReallifeGamemode.Migrations
b.Property<string>("SocialClubName")
.HasMaxLength(32);
b.Property<int>("Wanteds");
b.HasKey("Id");
b.HasIndex("BanId");