procbay-schema 1.0.73 → 1.0.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "procbay-schema",
3
- "version": "1.0.73",
3
+ "version": "1.0.74",
4
4
  "description": "A set of utilities for managing Prisma database schemas, seeding, and maintenance operations for the Procure-to-Pay system",
5
5
  "main": "src/prisma/index.js",
6
6
  "type": "module",
@@ -0,0 +1,2 @@
1
+ -- DropIndex
2
+ DROP INDEX "item_item_handler_item_name_key";
@@ -431,7 +431,6 @@ model Item {
431
431
  catalogue_cart_items CatalogueCart[] @relation("ParentItemCatalogueCart")
432
432
  catalogue_cart_variants CatalogueCart[] @relation("VariantItemCatalogueCart")
433
433
 
434
- @@unique([item_handler, item_name])
435
434
  @@index([parent_id, is_active, is_deleted]) // For variant queries
436
435
  @@index([is_parent, is_published, is_active]) // For parent product queries
437
436
  @@index([available_qty]) // For stock queries