formatted code

This commit is contained in:
Lennart Kampshoff
2019-05-05 17:59:11 +02:00
parent a34c03eae9
commit a88d5256a8
54 changed files with 290 additions and 210 deletions

View File

@@ -9,7 +9,7 @@ using ReallifeGamemode.Server.Models;
namespace ReallifeGamemode.Migrations
{
[DbContext(typeof(DatabaseContext))]
[Migration("20190505145708_Groups")]
[Migration("20190505154643_Groups")]
partial class Groups
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
@@ -776,6 +776,8 @@ namespace ReallifeGamemode.Migrations
b.Property<int?>("GroupId");
b.Property<int>("GroupRank");
b.Property<int>("Handmoney");
b.Property<int>("LogUserId");

View File

@@ -12,6 +12,12 @@ namespace ReallifeGamemode.Migrations
table: "Users",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "GroupRank",
table: "Users",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "GroupId",
table: "ServerVehicles",
@@ -110,6 +116,10 @@ namespace ReallifeGamemode.Migrations
name: "GroupId",
table: "Users");
migrationBuilder.DropColumn(
name: "GroupRank",
table: "Users");
migrationBuilder.DropColumn(
name: "GroupId",
table: "ServerVehicles");

View File

@@ -774,6 +774,8 @@ namespace ReallifeGamemode.Migrations
b.Property<int?>("GroupId");
b.Property<int>("GroupRank");
b.Property<int>("Handmoney");
b.Property<int>("LogUserId");