efiber-prisma-schema 1.7.2 → 1.8.1
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 +51 -46
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -436,33 +436,32 @@ model Project {
|
|
|
436
436
|
ReportFormats ReportFormats[]
|
|
437
437
|
platforms Platform[]
|
|
438
438
|
|
|
439
|
-
pboFatTemplates
|
|
440
|
-
pboFat
|
|
441
|
-
cableAttributes
|
|
442
|
-
spliceClosureAttributes
|
|
443
|
-
Cable
|
|
444
|
-
CableTemplate
|
|
445
|
-
CentralOffice
|
|
446
|
-
qrCodeTemplate
|
|
447
|
-
projectPhaseLog
|
|
448
|
-
ZoneNro
|
|
449
|
-
Pole
|
|
450
|
-
Manhole
|
|
451
|
-
Loop
|
|
452
|
-
FDTSRO
|
|
453
|
-
SFU
|
|
454
|
-
Building
|
|
455
|
-
SpliceClosure
|
|
456
|
-
SpliceClosureTemplate
|
|
457
|
-
ZoneNroTemplate
|
|
458
|
-
PoleTemplate
|
|
459
|
-
ManholeTemplate
|
|
460
|
-
LoopTemplate
|
|
461
|
-
FDTSROTemplate
|
|
462
|
-
SFUTemplate
|
|
463
|
-
BuildingTemplate
|
|
464
|
-
usersOnline
|
|
465
|
-
|
|
439
|
+
pboFatTemplates PboFatTemplate[]
|
|
440
|
+
pboFat PboFat[]
|
|
441
|
+
cableAttributes CableAtttributes[]
|
|
442
|
+
spliceClosureAttributes SpliceClosureAttributes[]
|
|
443
|
+
Cable Cable[]
|
|
444
|
+
CableTemplate CableTemplate[]
|
|
445
|
+
CentralOffice CentralOffice[]
|
|
446
|
+
qrCodeTemplate qrCodeTemplate[]
|
|
447
|
+
projectPhaseLog projectPhaseLog[]
|
|
448
|
+
ZoneNro ZoneNro[]
|
|
449
|
+
Pole Pole[]
|
|
450
|
+
Manhole Manhole[]
|
|
451
|
+
Loop Loop[]
|
|
452
|
+
FDTSRO FDTSRO[]
|
|
453
|
+
SFU SFU[]
|
|
454
|
+
Building Building[]
|
|
455
|
+
SpliceClosure SpliceClosure[]
|
|
456
|
+
SpliceClosureTemplate SpliceClosureTemplate[]
|
|
457
|
+
ZoneNroTemplate ZoneNroTemplate[]
|
|
458
|
+
PoleTemplate PoleTemplate[]
|
|
459
|
+
ManholeTemplate ManholeTemplate[]
|
|
460
|
+
LoopTemplate LoopTemplate[]
|
|
461
|
+
FDTSROTemplate FDTSROTemplate[]
|
|
462
|
+
SFUTemplate SFUTemplate[]
|
|
463
|
+
BuildingTemplate BuildingTemplate[]
|
|
464
|
+
usersOnline integrationProjectUserStatus[]
|
|
466
465
|
}
|
|
467
466
|
|
|
468
467
|
model integrationProjectUserStatus {
|
|
@@ -741,6 +740,8 @@ model WorkOrder {
|
|
|
741
740
|
workOrderActivityLogs WorkOrderActivityLog[]
|
|
742
741
|
workOrderEditLogs WorkOrderEditLog[]
|
|
743
742
|
pboFatAttributes PboFatAttributes[]
|
|
743
|
+
PboFat PboFat? @relation(fields: [pboFatId], references: [id])
|
|
744
|
+
pboFatId String?
|
|
744
745
|
}
|
|
745
746
|
|
|
746
747
|
model WorkOrderChannel {
|
|
@@ -1389,6 +1390,8 @@ model PboFat {
|
|
|
1389
1390
|
installation NetworkElementInstallation? @relation(fields: [installationId], references: [id])
|
|
1390
1391
|
installationId String?
|
|
1391
1392
|
|
|
1393
|
+
workOrders WorkOrder[]
|
|
1394
|
+
|
|
1392
1395
|
pboFatAttributes PboFatAttributes[]
|
|
1393
1396
|
// qrCode qrCode[]
|
|
1394
1397
|
qrCodeTag qrCodeTag[]
|
|
@@ -2045,22 +2048,22 @@ model NetworkElementInstallation {
|
|
|
2045
2048
|
updatedAt DateTime @updatedAt
|
|
2046
2049
|
|
|
2047
2050
|
networkElementId String?
|
|
2048
|
-
previousType
|
|
2049
|
-
previousName
|
|
2050
|
-
previousId
|
|
2051
|
-
nextType
|
|
2052
|
-
nextName
|
|
2053
|
-
nextId
|
|
2054
|
-
Cable
|
|
2055
|
-
PboFat
|
|
2056
|
-
SpliceClosure
|
|
2057
|
-
ZoneNro
|
|
2058
|
-
Pole
|
|
2059
|
-
Manhole
|
|
2060
|
-
Loop
|
|
2061
|
-
FDTSRO
|
|
2062
|
-
SFU
|
|
2063
|
-
Building
|
|
2051
|
+
previousType String?
|
|
2052
|
+
previousName String?
|
|
2053
|
+
previousId String?
|
|
2054
|
+
nextType String?
|
|
2055
|
+
nextName String?
|
|
2056
|
+
nextId String?
|
|
2057
|
+
Cable Cable[]
|
|
2058
|
+
PboFat PboFat[]
|
|
2059
|
+
SpliceClosure SpliceClosure[]
|
|
2060
|
+
ZoneNro ZoneNro[]
|
|
2061
|
+
Pole Pole[]
|
|
2062
|
+
Manhole Manhole[]
|
|
2063
|
+
Loop Loop[]
|
|
2064
|
+
FDTSRO FDTSRO[]
|
|
2065
|
+
SFU SFU[]
|
|
2066
|
+
Building Building[]
|
|
2064
2067
|
}
|
|
2065
2068
|
|
|
2066
2069
|
model CentralOffice {
|
|
@@ -2080,9 +2083,11 @@ model CentralOffice {
|
|
|
2080
2083
|
}
|
|
2081
2084
|
|
|
2082
2085
|
model Cluster {
|
|
2083
|
-
id
|
|
2084
|
-
no
|
|
2085
|
-
name
|
|
2086
|
+
id String @id @unique @default(uuid())
|
|
2087
|
+
no Int @default(autoincrement())
|
|
2088
|
+
name String @unique
|
|
2089
|
+
coordinates Json?
|
|
2090
|
+
color String?
|
|
2086
2091
|
|
|
2087
2092
|
createdAt DateTime @default(now())
|
|
2088
2093
|
updatedAt DateTime @updatedAt
|