efiber-prisma-schema 1.2.1 → 1.2.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efiber-prisma-schema",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Database schema for eFiber",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -408,7 +408,8 @@ model Project {
408
408
  ReportFormats ReportFormats[]
409
409
  platforms Platform[]
410
410
 
411
- pboFatAttributes PboFatAttributes[]
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,9 +1238,6 @@ 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