Fixin things
This commit is contained in:
@@ -537,6 +537,9 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Property<ulong>("CharacterId")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<ulong?>("CraftedItemId")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<int?>("EquipSlot")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -556,6 +559,8 @@ namespace SystemRevivalServer.Migrations
|
||||
|
||||
b.HasIndex("CharacterId");
|
||||
|
||||
b.HasIndex("CraftedItemId");
|
||||
|
||||
b.HasIndex("ItemDefinitionId");
|
||||
|
||||
b.ToTable("dungeon_character_items");
|
||||
@@ -2714,6 +2719,10 @@ namespace SystemRevivalServer.Migrations
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("DataServer.Data.Entities.DungeonCraftedItem", "CraftedItem")
|
||||
.WithMany()
|
||||
.HasForeignKey("CraftedItemId");
|
||||
|
||||
b.HasOne("DataServer.Data.Entities.DungeonItemDefinition", "ItemDefinition")
|
||||
.WithMany()
|
||||
.HasForeignKey("ItemDefinitionId")
|
||||
@@ -2722,6 +2731,8 @@ namespace SystemRevivalServer.Migrations
|
||||
|
||||
b.Navigation("Character");
|
||||
|
||||
b.Navigation("CraftedItem");
|
||||
|
||||
b.Navigation("ItemDefinition");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user