efiber-prisma-schema 1.6.0 → 1.6.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 +18 -8
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -443,6 +443,7 @@ model Project {
|
|
|
443
443
|
FDTSRO FDTSRO[]
|
|
444
444
|
SFU SFU[]
|
|
445
445
|
Building Building[]
|
|
446
|
+
SpliceClosure SpliceClosure[]
|
|
446
447
|
}
|
|
447
448
|
|
|
448
449
|
model projectPhaseLog {
|
|
@@ -1175,6 +1176,7 @@ model Cable {
|
|
|
1175
1176
|
zone Json? //Color code for zone
|
|
1176
1177
|
geometry Json? //Icon for the cable
|
|
1177
1178
|
attributes Json? //Attributes for the cable
|
|
1179
|
+
coordinates Json?
|
|
1178
1180
|
|
|
1179
1181
|
createdAt DateTime @default(now())
|
|
1180
1182
|
updatedAt DateTime @updatedAt
|
|
@@ -1206,6 +1208,7 @@ model CableTemplate {
|
|
|
1206
1208
|
zone Json? //Color code for zone
|
|
1207
1209
|
geometry Json? //Icon for the cable
|
|
1208
1210
|
attributes Json? //Attributes for the cable
|
|
1211
|
+
coordinates Json?
|
|
1209
1212
|
|
|
1210
1213
|
createdAt DateTime @default(now())
|
|
1211
1214
|
updatedAt DateTime @updatedAt
|
|
@@ -1369,6 +1372,12 @@ model SpliceClosure {
|
|
|
1369
1372
|
networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
|
|
1370
1373
|
networkElementId String
|
|
1371
1374
|
|
|
1375
|
+
project Project? @relation(fields: [projectId], references: [id])
|
|
1376
|
+
projectId String?
|
|
1377
|
+
|
|
1378
|
+
cluster Cluster? @relation(fields: [clusterId], references: [id])
|
|
1379
|
+
clusterId String?
|
|
1380
|
+
|
|
1372
1381
|
spliceClosureAttributes SpliceClosureAttributes[]
|
|
1373
1382
|
}
|
|
1374
1383
|
|
|
@@ -1622,14 +1631,15 @@ model Cluster {
|
|
|
1622
1631
|
centralOffice CentralOffice? @relation(fields: [centralOfficeId], references: [id])
|
|
1623
1632
|
centralOfficeId String?
|
|
1624
1633
|
|
|
1625
|
-
users
|
|
1626
|
-
ZoneNro
|
|
1627
|
-
Pole
|
|
1628
|
-
Manhole
|
|
1629
|
-
Loop
|
|
1630
|
-
FDTSRO
|
|
1631
|
-
SFU
|
|
1632
|
-
Building
|
|
1634
|
+
users User[]
|
|
1635
|
+
ZoneNro ZoneNro[]
|
|
1636
|
+
Pole Pole[]
|
|
1637
|
+
Manhole Manhole[]
|
|
1638
|
+
Loop Loop[]
|
|
1639
|
+
FDTSRO FDTSRO[]
|
|
1640
|
+
SFU SFU[]
|
|
1641
|
+
Building Building[]
|
|
1642
|
+
SpliceClosure SpliceClosure[]
|
|
1633
1643
|
}
|
|
1634
1644
|
|
|
1635
1645
|
model qrCode {
|