efiber-prisma-schema 1.2.1 → 1.2.3
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 +16 -8
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -408,7 +408,8 @@ model Project {
|
|
|
408
408
|
ReportFormats ReportFormats[]
|
|
409
409
|
platforms Platform[]
|
|
410
410
|
|
|
411
|
-
|
|
411
|
+
pboFatTemplates PboFatTemplate[]
|
|
412
|
+
pboFat PboFat[]
|
|
412
413
|
cableAttributes CableAtttributes[]
|
|
413
414
|
spliceClosureAttributes SpliceClosureAttributes[]
|
|
414
415
|
}
|
|
@@ -1186,6 +1187,11 @@ model PboFatTemplate {
|
|
|
1186
1187
|
networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
|
|
1187
1188
|
networkElementId String
|
|
1188
1189
|
|
|
1190
|
+
|
|
1191
|
+
project Project? @relation(fields: [projectId], references: [id])
|
|
1192
|
+
projectId String?
|
|
1193
|
+
|
|
1194
|
+
|
|
1189
1195
|
pboFatAttributes PboFatAttributes[]
|
|
1190
1196
|
|
|
1191
1197
|
//TODO: Add the fields for input/output cable, previous/next equipment, CO and project phase
|
|
@@ -1210,6 +1216,11 @@ model PboFat {
|
|
|
1210
1216
|
networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
|
|
1211
1217
|
networkElementId String
|
|
1212
1218
|
|
|
1219
|
+
|
|
1220
|
+
project Project? @relation(fields: [projectId], references: [id])
|
|
1221
|
+
projectId String?
|
|
1222
|
+
|
|
1223
|
+
|
|
1213
1224
|
pboFatAttributes PboFatAttributes[]
|
|
1214
1225
|
}
|
|
1215
1226
|
|
|
@@ -1227,17 +1238,14 @@ model PboFatAttributes {
|
|
|
1227
1238
|
cable Cable? @relation(fields: [cableId], references: [id])
|
|
1228
1239
|
cableId String?
|
|
1229
1240
|
|
|
1230
|
-
project Project? @relation(fields: [projectId], references: [id])
|
|
1231
|
-
projectId String?
|
|
1232
|
-
|
|
1233
1241
|
material Material? @relation(fields: [materialId], references: [id])
|
|
1234
1242
|
materialId String?
|
|
1235
1243
|
|
|
1236
|
-
pboFatTemplate PboFatTemplate @relation(fields: [pboFatTemplateId], references: [id])
|
|
1237
|
-
pboFatTemplateId String
|
|
1244
|
+
pboFatTemplate PboFatTemplate? @relation(fields: [pboFatTemplateId], references: [id])
|
|
1245
|
+
pboFatTemplateId String?
|
|
1238
1246
|
|
|
1239
|
-
pboFat PboFat @relation(fields: [pboFatId], references: [id])
|
|
1240
|
-
pboFatId String
|
|
1247
|
+
pboFat PboFat? @relation(fields: [pboFatId], references: [id])
|
|
1248
|
+
pboFatId String?
|
|
1241
1249
|
|
|
1242
1250
|
splitter Splitter[]
|
|
1243
1251
|
workOrder WorkOrder[]
|