efiber-prisma-schema 1.13.8 → 1.14.1

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.13.8",
3
+ "version": "1.14.1",
4
4
  "description": "Database schema for eFiber",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,3 @@
1
+ -- AlterTable
2
+ ALTER TABLE "EmailConfigurations" ADD COLUMN "isCustomSla" BOOLEAN NOT NULL DEFAULT false,
3
+ ADD COLUMN "slaFieldKey" TEXT;
@@ -0,0 +1,2 @@
1
+ -- AlterTable
2
+ ALTER TABLE "WorkOrder" ADD COLUMN "slaStartAt" TIMESTAMP(3);
@@ -759,6 +759,8 @@ model EmailConfigurations {
759
759
  emailfirstpull Int?
760
760
  emailfirstcount Int?
761
761
  excelrownumber Int?
762
+ isCustomSla Boolean @default(false)
763
+ slaFieldKey String?
762
764
 
763
765
  createdAt DateTime @default(now())
764
766
  updatedAt DateTime @updatedAt
@@ -863,6 +865,7 @@ model WorkOrder {
863
865
  scheduledEndAt DateTime?
864
866
  actionDate DateTime? //Date the work order was completed
865
867
  auditMatrices Json?
868
+ slaStartAt DateTime? //SLA Start Time
866
869
  sla String?
867
870
  isPaused Boolean @default(false)
868
871