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 +1 -1
- package/prisma/migrations/20251121122059_remove_unique_composite_from_items_table/migration.sql +2 -0
- package/prisma/schema.prisma +0 -1
- package/src/prisma/edge.js +3 -3
- package/src/prisma/index.d.ts +1 -7
- package/src/prisma/index.js +3 -3
- package/src/prisma/package.json +1 -1
- package/src/prisma/schema.prisma +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "procbay-schema",
|
|
3
|
-
"version": "1.0.
|
|
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",
|
package/prisma/schema.prisma
CHANGED
|
@@ -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
|