catchup
This commit is contained in:
@@ -495,6 +495,27 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Property<int>("Wisdom")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int?>("WorldChunkX")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int?>("WorldChunkY")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int?>("WorldRegionId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float?>("WorldX")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float?>("WorldY")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int?>("WorldZoneX")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int?>("WorldZoneY")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("AccountId");
|
||||
@@ -3132,6 +3153,48 @@ namespace SystemRevivalServer.Migrations
|
||||
b.ToTable("world_chunks");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.WorldChunkMobSpawn", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<string>("MetadataJson")
|
||||
.HasMaxLength(1024)
|
||||
.HasColumnType("varchar(1024)");
|
||||
|
||||
b.Property<int>("MobDefinitionId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float>("RespawnSeconds")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int>("Rotation")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("SpawnCount")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("TileX")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("TileY")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<long>("WorldChunkId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("MobDefinitionId");
|
||||
|
||||
b.HasIndex("WorldChunkId", "TileX", "TileY", "MobDefinitionId");
|
||||
|
||||
b.ToTable("world_chunk_mob_spawns");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.WorldChunkNpcSpawn", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
@@ -3935,6 +3998,25 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Navigation("Zone");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.WorldChunkMobSpawn", b =>
|
||||
{
|
||||
b.HasOne("DataServer.Data.Entities.DungeonMobDefinition", "MobDefinition")
|
||||
.WithMany()
|
||||
.HasForeignKey("MobDefinitionId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("DataServer.Data.Entities.WorldChunk", "Chunk")
|
||||
.WithMany()
|
||||
.HasForeignKey("WorldChunkId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Chunk");
|
||||
|
||||
b.Navigation("MobDefinition");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.WorldChunkNpcSpawn", b =>
|
||||
{
|
||||
b.HasOne("DataServer.Data.Entities.DungeonNpcDefinition", "NpcDefinition")
|
||||
|
||||
Reference in New Issue
Block a user