This commit is contained in:
rfi
2024-02-22 06:50:42 +07:00
parent b232088f4d
commit 5d39e1c6be
6 changed files with 306 additions and 9 deletions

View File

@@ -29,7 +29,9 @@ namespace BLHX.Server.Common.Migrations.Player
b.Property<string>("Adv")
.IsRequired()
.HasColumnType("TEXT");
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasDefaultValue("");
b.Property<DateTime>("CreatedAt")
.HasColumnType("TEXT");
@@ -41,6 +43,12 @@ namespace BLHX.Server.Common.Migrations.Player
b.Property<uint>("Exp")
.HasColumnType("INTEGER");
b.Property<string>("Fleets")
.IsRequired()
.ValueGeneratedOnAdd()
.HasColumnType("jsonb")
.HasDefaultValue("[{\"Id\":1,\"Name\":null,\"ShipLists\":[1,2],\"Commanders\":[]},{\"Id\":2,\"Name\":null,\"ShipLists\":[],\"Commanders\":[]},{\"Id\":11,\"Name\":null,\"ShipLists\":[],\"Commanders\":[]},{\"Id\":12,\"Name\":null,\"ShipLists\":[],\"Commanders\":[]}]");
b.Property<uint>("Level")
.HasColumnType("INTEGER");