style: apply eslint --fix reformatting to files this slice touched
Lint was intentionally deferred through tasks 1-7 to keep each task's diff scoped. Running it now only reformats line-wrapping in the four shop/seed files this slice already modified; the ~86 pre-existing problems in npcs, travel, the e2e spec and elsewhere are untouched. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,9 +56,7 @@ export class SellableLootBags1796000000000 implements MigrationInterface {
|
||||
// Partial, because the column each one covers is now nullable and Postgres
|
||||
// treats NULLs as distinct -- a plain unique index over (shop_id,
|
||||
// item_definition_id) would happily accept a hundred bag offers.
|
||||
await queryRunner.query(
|
||||
`DROP INDEX "IDX_shop_offers_shop_item"`,
|
||||
);
|
||||
await queryRunner.query(`DROP INDEX "IDX_shop_offers_shop_item"`);
|
||||
await queryRunner.query(
|
||||
`CREATE UNIQUE INDEX "IDX_shop_offers_shop_item" ON "shop_offers" ("shop_id", "item_definition_id") WHERE "item_definition_id" IS NOT NULL`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user