efiber-prisma-schema 1.9.1 → 1.9.2
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/schema.prisma +34 -18
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -492,6 +492,9 @@ model integrationProjectUserStatus {
|
|
|
492
492
|
|
|
493
493
|
Project Project? @relation(fields: [projectId], references: [id])
|
|
494
494
|
projectId String?
|
|
495
|
+
|
|
496
|
+
Cluster Cluster? @relation(fields: [clusterId], references: [id])
|
|
497
|
+
clusterId String?
|
|
495
498
|
}
|
|
496
499
|
|
|
497
500
|
model projectPhaseLog {
|
|
@@ -1266,6 +1269,8 @@ model Cable {
|
|
|
1266
1269
|
cableAttributes CableAtttributes[]
|
|
1267
1270
|
PboFatAttributes PboFatAttributes[]
|
|
1268
1271
|
qrCodeTag qrCodeTag[]
|
|
1272
|
+
Cluster Cluster? @relation(fields: [clusterId], references: [id])
|
|
1273
|
+
clusterId String?
|
|
1269
1274
|
}
|
|
1270
1275
|
|
|
1271
1276
|
model CableTemplate {
|
|
@@ -1299,6 +1304,8 @@ model CableTemplate {
|
|
|
1299
1304
|
cableAttributes CableAtttributes[]
|
|
1300
1305
|
qrCodeTemplate qrCodeTemplate[]
|
|
1301
1306
|
Cable Cable[]
|
|
1307
|
+
Cluster Cluster? @relation(fields: [clusterId], references: [id])
|
|
1308
|
+
clusterId String?
|
|
1302
1309
|
}
|
|
1303
1310
|
|
|
1304
1311
|
model CableAtttributes {
|
|
@@ -1369,6 +1376,8 @@ model PboFatTemplate {
|
|
|
1369
1376
|
//TODO: Add the fields for input/output cable, previous/next equipment, CO and project phase
|
|
1370
1377
|
qrCodeTemplate qrCodeTemplate[]
|
|
1371
1378
|
PboFat PboFat[]
|
|
1379
|
+
Cluster Cluster? @relation(fields: [clusterId], references: [id])
|
|
1380
|
+
clusterId String?
|
|
1372
1381
|
}
|
|
1373
1382
|
|
|
1374
1383
|
model PboFat {
|
|
@@ -1410,6 +1419,8 @@ model PboFat {
|
|
|
1410
1419
|
pboFatAttributes PboFatAttributes[]
|
|
1411
1420
|
// qrCode qrCode[]
|
|
1412
1421
|
qrCodeTag qrCodeTag[]
|
|
1422
|
+
Cluster Cluster? @relation(fields: [clusterId], references: [id])
|
|
1423
|
+
clusterId String?
|
|
1413
1424
|
}
|
|
1414
1425
|
|
|
1415
1426
|
model PboFatAttributes {
|
|
@@ -2110,28 +2121,33 @@ model Cluster {
|
|
|
2110
2121
|
updatedAt DateTime @updatedAt
|
|
2111
2122
|
deletedAt DateTime?
|
|
2112
2123
|
|
|
2113
|
-
projectPhase String?
|
|
2124
|
+
projectPhase String? @default("In-Progress")
|
|
2114
2125
|
|
|
2115
2126
|
centralOffice CentralOffice? @relation(fields: [centralOfficeId], references: [id])
|
|
2116
2127
|
centralOfficeId String?
|
|
2117
2128
|
|
|
2118
|
-
users
|
|
2119
|
-
ZoneNro
|
|
2120
|
-
Pole
|
|
2121
|
-
Manhole
|
|
2122
|
-
Loop
|
|
2123
|
-
FDTSRO
|
|
2124
|
-
SFU
|
|
2125
|
-
Building
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2129
|
+
users User[]
|
|
2130
|
+
ZoneNro ZoneNro[]
|
|
2131
|
+
Pole Pole[]
|
|
2132
|
+
Manhole Manhole[]
|
|
2133
|
+
Loop Loop[]
|
|
2134
|
+
FDTSRO FDTSRO[]
|
|
2135
|
+
SFU SFU[]
|
|
2136
|
+
Building Building[]
|
|
2137
|
+
Cable Cable[]
|
|
2138
|
+
PboFat PboFat[]
|
|
2139
|
+
SpliceClosure SpliceClosure[]
|
|
2140
|
+
CableTemplate CableTemplate[]
|
|
2141
|
+
PboFatTemplate PboFatTemplate[]
|
|
2142
|
+
SpliceClosureTemplate SpliceClosureTemplate[]
|
|
2143
|
+
ZoneNroTemplate ZoneNroTemplate[]
|
|
2144
|
+
PoleTemplate PoleTemplate[]
|
|
2145
|
+
ManholeTemplate ManholeTemplate[]
|
|
2146
|
+
LoopTemplate LoopTemplate[]
|
|
2147
|
+
FDTSROTemplate FDTSROTemplate[]
|
|
2148
|
+
SFUTemplate SFUTemplate[]
|
|
2149
|
+
BuildingTemplate BuildingTemplate[]
|
|
2150
|
+
integrationProjectUserStatus integrationProjectUserStatus[]
|
|
2135
2151
|
}
|
|
2136
2152
|
|
|
2137
2153
|
model qrCodeTemplate {
|