Fix missing database migration
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user