formatted code
This commit is contained in:
@@ -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");
|
||||
@@ -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");
|
||||
@@ -774,6 +774,8 @@ namespace ReallifeGamemode.Migrations
|
||||
|
||||
b.Property<int?>("GroupId");
|
||||
|
||||
b.Property<int>("GroupRank");
|
||||
|
||||
b.Property<int>("Handmoney");
|
||||
|
||||
b.Property<int>("LogUserId");
|
||||
|
||||
Reference in New Issue
Block a user