efiber-prisma-schema 1.10.1 → 1.10.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.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "Database schema for eFiber",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1296,8 +1296,7 @@ model CableTemplate {
1296
1296
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
1297
1297
  networkElementId String
1298
1298
 
1299
- project Project? @relation(fields: [projectId], references: [id])
1300
- projectId String?
1299
+ projects Project[]
1301
1300
 
1302
1301
  cableAttributes CableAtttributes[]
1303
1302
  qrCodeTemplate qrCodeTemplate[]
@@ -1366,8 +1365,7 @@ model PboFatTemplate {
1366
1365
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
1367
1366
  networkElementId String
1368
1367
 
1369
- project Project? @relation(fields: [projectId], references: [id])
1370
- projectId String?
1368
+ projects Project[]
1371
1369
 
1372
1370
  pboFatAttributes PboFatAttributes[]
1373
1371
 
@@ -1514,8 +1512,7 @@ model SpliceClosureTemplate {
1514
1512
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
1515
1513
  networkElementId String
1516
1514
 
1517
- project Project? @relation(fields: [projectId], references: [id])
1518
- projectId String?
1515
+ projects Project[]
1519
1516
 
1520
1517
  cluster Cluster? @relation(fields: [clusterId], references: [id])
1521
1518
  clusterId String?
@@ -1617,8 +1614,7 @@ model ZoneNroTemplate {
1617
1614
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
1618
1615
  networkElementId String
1619
1616
 
1620
- project Project? @relation(fields: [projectId], references: [id])
1621
- projectId String?
1617
+ projects Project[]
1622
1618
 
1623
1619
  cluster Cluster? @relation(fields: [clusterId], references: [id])
1624
1620
  clusterId String?
@@ -1690,8 +1686,7 @@ model PoleTemplate {
1690
1686
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
1691
1687
  networkElementId String
1692
1688
 
1693
- project Project? @relation(fields: [projectId], references: [id])
1694
- projectId String?
1689
+ projects Project[]
1695
1690
 
1696
1691
  cluster Cluster? @relation(fields: [clusterId], references: [id])
1697
1692
  clusterId String?
@@ -1763,8 +1758,7 @@ model ManholeTemplate {
1763
1758
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
1764
1759
  networkElementId String
1765
1760
 
1766
- project Project? @relation(fields: [projectId], references: [id])
1767
- projectId String?
1761
+ projects Project[]
1768
1762
 
1769
1763
  cluster Cluster? @relation(fields: [clusterId], references: [id])
1770
1764
  clusterId String?
@@ -1836,8 +1830,7 @@ model LoopTemplate {
1836
1830
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
1837
1831
  networkElementId String
1838
1832
 
1839
- project Project? @relation(fields: [projectId], references: [id])
1840
- projectId String?
1833
+ projects Project[]
1841
1834
 
1842
1835
  cluster Cluster? @relation(fields: [clusterId], references: [id])
1843
1836
  clusterId String?
@@ -1909,8 +1902,7 @@ model FDTSROTemplate {
1909
1902
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
1910
1903
  networkElementId String
1911
1904
 
1912
- project Project? @relation(fields: [projectId], references: [id])
1913
- projectId String?
1905
+ projects Project[]
1914
1906
 
1915
1907
  cluster Cluster? @relation(fields: [clusterId], references: [id])
1916
1908
  clusterId String?
@@ -1983,8 +1975,7 @@ model SFUTemplate {
1983
1975
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
1984
1976
  networkElementId String
1985
1977
 
1986
- project Project? @relation(fields: [projectId], references: [id])
1987
- projectId String?
1978
+ projects Project[]
1988
1979
 
1989
1980
  cluster Cluster? @relation(fields: [clusterId], references: [id])
1990
1981
  clusterId String?
@@ -2057,8 +2048,7 @@ model BuildingTemplate {
2057
2048
  networkElement NetworkElement @relation(fields: [networkElementId], references: [id])
2058
2049
  networkElementId String
2059
2050
 
2060
- project Project? @relation(fields: [projectId], references: [id])
2061
- projectId String?
2051
+ projects Project[]
2062
2052
 
2063
2053
  cluster Cluster? @relation(fields: [clusterId], references: [id])
2064
2054
  clusterId String?