efiber-prisma-schema 1.5.1 → 1.5.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 +9 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1200,6 +1200,7 @@ model CableTemplate {
|
|
|
1200
1200
|
projectId String?
|
|
1201
1201
|
|
|
1202
1202
|
cableAttributes CableAtttributes[]
|
|
1203
|
+
qrCode qrCode[]
|
|
1203
1204
|
}
|
|
1204
1205
|
|
|
1205
1206
|
model CableAtttributes {
|
|
@@ -1266,6 +1267,7 @@ model PboFatTemplate {
|
|
|
1266
1267
|
pboFatAttributes PboFatAttributes[]
|
|
1267
1268
|
|
|
1268
1269
|
//TODO: Add the fields for input/output cable, previous/next equipment, CO and project phase
|
|
1270
|
+
qrCode qrCode[]
|
|
1269
1271
|
}
|
|
1270
1272
|
|
|
1271
1273
|
model PboFat {
|
|
@@ -1277,7 +1279,7 @@ model PboFat {
|
|
|
1277
1279
|
photos Json? //Upload files for photos
|
|
1278
1280
|
zone Json? //Color code for zone
|
|
1279
1281
|
geometry Json? //Icon for the PBO FAT
|
|
1280
|
-
attributes
|
|
1282
|
+
attributes Json? //Attributes for the PBO FAT
|
|
1281
1283
|
|
|
1282
1284
|
createdAt DateTime @default(now())
|
|
1283
1285
|
updatedAt DateTime @updatedAt
|
|
@@ -1428,6 +1430,12 @@ model qrCode {
|
|
|
1428
1430
|
networkElement NetworkElement? @relation(fields: [networkElementId], references: [id])
|
|
1429
1431
|
networkElementId String?
|
|
1430
1432
|
|
|
1433
|
+
pboFatTemplate PboFatTemplate? @relation(fields: [pboFatTemplateId], references: [id])
|
|
1434
|
+
pboFatTemplateId String?
|
|
1435
|
+
|
|
1436
|
+
cableTemplate CableTemplate? @relation(fields: [cableTemplateId], references: [id])
|
|
1437
|
+
cableTemplateId String?
|
|
1438
|
+
|
|
1431
1439
|
// one to many relation with cable
|
|
1432
1440
|
cable Cable? @relation(fields: [cableId], references: [id])
|
|
1433
1441
|
cableId String?
|