procbay-schema 1.0.18 → 1.0.19

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.18",
3
+ "version": "1.0.19",
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,5 @@
1
+ -- AlterTable
2
+ ALTER TABLE "approval_journey" ADD COLUMN "journey_task" TEXT;
3
+
4
+ -- AlterTable
5
+ ALTER TABLE "export_logs" ALTER COLUMN "expires_at" SET DEFAULT NOW() + INTERVAL '7 days';
@@ -806,6 +806,7 @@ model ApprovalJourney {
806
806
  level String?
807
807
  status ApprovalJourneyStatusEnum @default(Pending)
808
808
  reject_reason String?
809
+ journey_task String?
809
810
  is_approver_turn Boolean @default(false)
810
811
  duration String? // Duration in hours and minutes (e.g. "2h 30m")
811
812
  valid_to DateTime? @db.Timestamptz(6) // Explicitly use timestamptz