efiber-prisma-schema 2.1.1 → 2.2.0
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/dist/prisma/generated/edge.js +18 -4
- package/dist/prisma/generated/index-browser.js +15 -1
- package/dist/prisma/generated/index.d.ts +2666 -381
- package/dist/prisma/generated/index.js +18 -4
- package/dist/prisma/generated/package.json +1 -1
- package/dist/prisma/generated/schema.prisma +24 -3
- package/dist/prisma/generated/wasm.js +18 -4
- package/package.json +1 -1
|
@@ -531,6 +531,7 @@ model User {
|
|
|
531
531
|
Conduit Conduit[]
|
|
532
532
|
ConduitTemplate ConduitTemplate[]
|
|
533
533
|
WorkOrderComments WorkOrderComments[]
|
|
534
|
+
appVersions AppVersion[]
|
|
534
535
|
}
|
|
535
536
|
|
|
536
537
|
model MainProject {
|
|
@@ -905,6 +906,8 @@ model WorkOrder {
|
|
|
905
906
|
buildingId String?
|
|
906
907
|
WorkOrderPauses WorkOrderPauses[]
|
|
907
908
|
WorkOrderComments WorkOrderComments[]
|
|
909
|
+
|
|
910
|
+
@@unique([mainId, projectId])
|
|
908
911
|
}
|
|
909
912
|
|
|
910
913
|
model WorkOrderChannel {
|
|
@@ -2220,9 +2223,9 @@ model Pole {
|
|
|
2220
2223
|
|
|
2221
2224
|
address String? //Address of the pole
|
|
2222
2225
|
material String? //Material of the pole
|
|
2223
|
-
height
|
|
2224
|
-
topDiameter
|
|
2225
|
-
bottomDiameter
|
|
2226
|
+
height String? //Height of the pole in meters
|
|
2227
|
+
topDiameter String? //Top diameter of the pole in meters
|
|
2228
|
+
bottomDiameter String? //Bottom diameter of the pole in meters
|
|
2226
2229
|
downGuy Boolean @default(false) //Does the pole have a down guy?
|
|
2227
2230
|
brand String? //Brand of the pole
|
|
2228
2231
|
brandDescription String? //Description of the brand
|
|
@@ -3347,3 +3350,21 @@ model ReportTable {
|
|
|
3347
3350
|
includeHeader Boolean @default(true)
|
|
3348
3351
|
sortBy Json? //e.g {"column": "Client Name", "order": "asc"} for sorting the table by a specific column
|
|
3349
3352
|
}
|
|
3353
|
+
|
|
3354
|
+
model AppVersion {
|
|
3355
|
+
id String @id @unique @default(uuid())
|
|
3356
|
+
no Int @default(autoincrement())
|
|
3357
|
+
|
|
3358
|
+
versionCode Int
|
|
3359
|
+
versionName String
|
|
3360
|
+
releaseNotes String?
|
|
3361
|
+
|
|
3362
|
+
createdAt DateTime @default(now())
|
|
3363
|
+
updatedAt DateTime @updatedAt
|
|
3364
|
+
deletedAt DateTime?
|
|
3365
|
+
|
|
3366
|
+
createdBy User @relation(fields: [createdById], references: [id])
|
|
3367
|
+
createdById String
|
|
3368
|
+
|
|
3369
|
+
apkUrl String? //URL to the APK file for Android
|
|
3370
|
+
}
|