procbay-schema 1.0.33 → 1.0.34
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/20251008180652_update_purchase_order_item_unique_constraint/migration.sql +6 -0
- package/prisma/schema.prisma +1 -1
- package/src/prisma/edge.js +3 -3
- package/src/prisma/index.d.ts +8 -1
- package/src/prisma/index.js +3 -3
- package/src/prisma/package.json +1 -1
- package/src/prisma/schema.prisma +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "procbay-schema",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.34",
|
|
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
|
@@ -2033,7 +2033,7 @@ model PurchaseOrderItem {
|
|
|
2033
2033
|
is_deleted Boolean @default(false)
|
|
2034
2034
|
deleted_at DateTime? @db.Timestamptz(6)
|
|
2035
2035
|
|
|
2036
|
-
|
|
2036
|
+
@@unique([purchase_order_id, item_id, vendor_id], name: "unique_purchase_order_item")
|
|
2037
2037
|
@@index([purchase_order_id])
|
|
2038
2038
|
@@index([purchase_request_id])
|
|
2039
2039
|
@@index([item_id])
|