Fix missing database migration

This commit is contained in:
hydrant
2019-07-21 16:50:18 +02:00
parent 28e6a461f0
commit 29c0e8771f
14 changed files with 1816 additions and 97 deletions

View File

@@ -389,6 +389,28 @@ namespace ReallifeGamemode.Migrations
b.ToTable("FactionRanks");
});
modelBuilder.Entity("ReallifeGamemode.Server.Entities.FactionWeapon", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd();
b.Property<int>("FactionId");
b.Property<int>("Rank");
b.Property<int>("SlotID");
b.Property<int>("WeaponHash");
b.Property<string>("WeaponModel");
b.HasKey("Id");
b.HasIndex("FactionId");
b.ToTable("FactionWeapons");
});
modelBuilder.Entity("ReallifeGamemode.Server.Entities.GotoPoint", b =>
{
b.Property<int>("Id")
@@ -851,7 +873,7 @@ namespace ReallifeGamemode.Migrations
b.Property<string>("Password")
.HasMaxLength(64);
b.Property<int>("PaydayTimer");
b.Property<float>("PositionX");
@@ -1093,6 +1115,14 @@ namespace ReallifeGamemode.Migrations
.OnDelete(DeleteBehavior.Cascade);
});
modelBuilder.Entity("ReallifeGamemode.Server.Entities.FactionWeapon", b =>
{
b.HasOne("ReallifeGamemode.Server.Entities.Faction", "Faction")
.WithMany()
.HasForeignKey("FactionId")
.OnDelete(DeleteBehavior.Cascade);
});
modelBuilder.Entity("ReallifeGamemode.Server.Entities.GroupBankAccount", b =>
{
b.HasOne("ReallifeGamemode.Server.Entities.Group", "Group")