feat: enhance inventory schema to support longer ItemSlug and add GiftBox equipment payload handling

This commit is contained in:
Alexa
2026-06-06 22:50:42 +03:00
parent 92bd22d164
commit 73d77dffb6
9 changed files with 67 additions and 7 deletions
@@ -1669,7 +1669,7 @@ namespace DorkNet.Server.Migrations
b.Property<string>("ItemSlug")
.IsRequired()
.HasMaxLength(64)
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property<long>("PlayerId")
@@ -732,7 +732,7 @@ namespace DorkNet.Server.Migrations
Id = table.Column<long>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
PlayerId = table.Column<long>(type: "INTEGER", nullable: false),
ItemSlug = table.Column<string>(type: "TEXT", maxLength: 64, nullable: false),
ItemSlug = table.Column<string>(type: "TEXT", maxLength: 128, nullable: false),
Quantity = table.Column<int>(type: "INTEGER", nullable: false),
IsActive = table.Column<bool>(type: "INTEGER", nullable: false),
AcquiredAt = table.Column<DateTime>(type: "TEXT", nullable: false)
@@ -1666,7 +1666,7 @@ namespace DorkNet.Server.Migrations
b.Property<string>("ItemSlug")
.IsRequired()
.HasMaxLength(64)
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property<long>("PlayerId")