mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 23:18:44 -07:00
feat: enhance inventory schema to support longer ItemSlug and add GiftBox equipment payload handling
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user