File tree Expand file tree Collapse file tree 2 files changed +33
-33
lines changed
Intersect.Server.Core/Migrations/Sqlite/Game
Intersect.Server/Migrations/MySql/Game Expand file tree Collapse file tree 2 files changed +33
-33
lines changed Original file line number Diff line number Diff line change @@ -338,6 +338,22 @@ protected override void BuildModel(ModelBuilder modelBuilder)
338338 b . ToTable ( "Items" ) ;
339339 } ) ;
340340
341+ modelBuilder . Entity ( "Intersect.Framework.Core.GameObjects.Mapping.Tilesets.TilesetDescriptor" , b =>
342+ {
343+ b . Property < Guid > ( "Id" )
344+ . HasColumnType ( "TEXT" ) ;
345+
346+ b . Property < string > ( "Name" )
347+ . HasColumnType ( "TEXT" ) ;
348+
349+ b . Property < long > ( "TimeCreated" )
350+ . HasColumnType ( "INTEGER" ) ;
351+
352+ b . HasKey ( "Id" ) ;
353+
354+ b . ToTable ( "Tilesets" ) ;
355+ } ) ;
356+
341357 modelBuilder . Entity ( "Intersect.Framework.Core.GameObjects.Maps.MapList.MapList" , b =>
342358 {
343359 b . Property < Guid > ( "Id" )
@@ -1097,22 +1113,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
10971113 b . ToTable ( "Spells" ) ;
10981114 } ) ;
10991115
1100- modelBuilder . Entity ( "Intersect.Framework.Core.GameObjects.Mapping.Tilesets.TilesetDescriptor" , b =>
1101- {
1102- b . Property < Guid > ( "Id" )
1103- . HasColumnType ( "TEXT" ) ;
1104-
1105- b . Property < string > ( "Name" )
1106- . HasColumnType ( "TEXT" ) ;
1107-
1108- b . Property < long > ( "TimeCreated" )
1109- . HasColumnType ( "INTEGER" ) ;
1110-
1111- b . HasKey ( "Id" ) ;
1112-
1113- b . ToTable ( "Tilesets" ) ;
1114- } ) ;
1115-
11161116 modelBuilder . Entity ( "Intersect.GameObjects.TimeBase" , b =>
11171117 {
11181118 b . Property < Guid > ( "Id" )
Original file line number Diff line number Diff line change @@ -356,6 +356,23 @@ protected override void BuildModel(ModelBuilder modelBuilder)
356356 b . ToTable ( "Items" ) ;
357357 } ) ;
358358
359+ modelBuilder . Entity ( "Intersect.Framework.Core.GameObjects.Mapping.Tilesets.TilesetDescriptor" , b =>
360+ {
361+ b . Property < Guid > ( "Id" )
362+ . HasColumnType ( "char(36)" )
363+ . UseCollation ( "ascii_general_ci" ) ;
364+
365+ b . Property < string > ( "Name" )
366+ . HasColumnType ( "longtext" ) ;
367+
368+ b . Property < long > ( "TimeCreated" )
369+ . HasColumnType ( "bigint" ) ;
370+
371+ b . HasKey ( "Id" ) ;
372+
373+ b . ToTable ( "Tilesets" ) ;
374+ } ) ;
375+
359376 modelBuilder . Entity ( "Intersect.Framework.Core.GameObjects.Maps.MapList.MapList" , b =>
360377 {
361378 b . Property < Guid > ( "Id" )
@@ -1145,23 +1162,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
11451162 b . ToTable ( "Spells" ) ;
11461163 } ) ;
11471164
1148- modelBuilder . Entity ( "Intersect.Framework.Core.GameObjects.Mapping.Tilesets.TilesetDescriptor" , b =>
1149- {
1150- b . Property < Guid > ( "Id" )
1151- . HasColumnType ( "char(36)" )
1152- . UseCollation ( "ascii_general_ci" ) ;
1153-
1154- b . Property < string > ( "Name" )
1155- . HasColumnType ( "longtext" ) ;
1156-
1157- b . Property < long > ( "TimeCreated" )
1158- . HasColumnType ( "bigint" ) ;
1159-
1160- b . HasKey ( "Id" ) ;
1161-
1162- b . ToTable ( "Tilesets" ) ;
1163- } ) ;
1164-
11651165 modelBuilder . Entity ( "Intersect.GameObjects.TimeBase" , b =>
11661166 {
11671167 b . Property < Guid > ( "Id" )
You can’t perform that action at this time.
0 commit comments