efiber-prisma-schema 1.10.10 → 1.10.12

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": "efiber-prisma-schema",
3
- "version": "1.10.10",
3
+ "version": "1.10.12",
4
4
  "description": "Database schema for eFiber",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,2 @@
1
+ -- AlterTable
2
+ ALTER TABLE "WorkOrderPauses" ALTER COLUMN "pauseEndAt" DROP NOT NULL;
@@ -0,0 +1,2 @@
1
+ -- AlterTable
2
+ ALTER TABLE "WorkOrder" ADD COLUMN "isPaused" BOOLEAN NOT NULL DEFAULT false;
@@ -737,6 +737,7 @@ model WorkOrder {
737
737
  actionDate DateTime? //Date the work order was completed
738
738
  auditMatrices Json?
739
739
  sla String?
740
+ isPaused Boolean @default(false)
740
741
 
741
742
  createdAt DateTime @default(now())
742
743
  updatedAt DateTime @updatedAt
@@ -877,7 +878,7 @@ model WorkOrderPauses {
877
878
  no Int @default(autoincrement())
878
879
 
879
880
  pauseStartAt DateTime
880
- pauseEndAt DateTime
881
+ pauseEndAt DateTime?
881
882
 
882
883
  createdAt DateTime @default(now())
883
884
  updatedAt DateTime @updatedAt