efiber-prisma-schema 1.12.1 → 1.12.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.12.1",
3
+ "version": "1.12.2",
4
4
  "description": "Database schema for eFiber",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,59 @@
1
+ -- AlterTable
2
+ ALTER TABLE "Building" ADD COLUMN "files" JSONB;
3
+
4
+ -- AlterTable
5
+ ALTER TABLE "BuildingTemplate" ADD COLUMN "files" JSONB;
6
+
7
+ -- AlterTable
8
+ ALTER TABLE "Cable" ADD COLUMN "files" JSONB;
9
+
10
+ -- AlterTable
11
+ ALTER TABLE "CableTemplate" ADD COLUMN "files" JSONB;
12
+
13
+ -- AlterTable
14
+ ALTER TABLE "FDTSRO" ADD COLUMN "files" JSONB;
15
+
16
+ -- AlterTable
17
+ ALTER TABLE "FDTSROTemplate" ADD COLUMN "files" JSONB;
18
+
19
+ -- AlterTable
20
+ ALTER TABLE "Loop" ADD COLUMN "files" JSONB;
21
+
22
+ -- AlterTable
23
+ ALTER TABLE "LoopTemplate" ADD COLUMN "files" JSONB;
24
+
25
+ -- AlterTable
26
+ ALTER TABLE "Manhole" ADD COLUMN "files" JSONB;
27
+
28
+ -- AlterTable
29
+ ALTER TABLE "ManholeTemplate" ADD COLUMN "files" JSONB;
30
+
31
+ -- AlterTable
32
+ ALTER TABLE "PboFat" ADD COLUMN "files" JSONB;
33
+
34
+ -- AlterTable
35
+ ALTER TABLE "PboFatTemplate" ADD COLUMN "files" JSONB;
36
+
37
+ -- AlterTable
38
+ ALTER TABLE "Pole" ADD COLUMN "files" JSONB;
39
+
40
+ -- AlterTable
41
+ ALTER TABLE "PoleTemplate" ADD COLUMN "files" JSONB;
42
+
43
+ -- AlterTable
44
+ ALTER TABLE "SFU" ADD COLUMN "files" JSONB;
45
+
46
+ -- AlterTable
47
+ ALTER TABLE "SFUTemplate" ADD COLUMN "files" JSONB;
48
+
49
+ -- AlterTable
50
+ ALTER TABLE "SpliceClosure" ADD COLUMN "files" JSONB;
51
+
52
+ -- AlterTable
53
+ ALTER TABLE "SpliceClosureTemplate" ADD COLUMN "files" JSONB;
54
+
55
+ -- AlterTable
56
+ ALTER TABLE "ZoneNro" ADD COLUMN "files" JSONB;
57
+
58
+ -- AlterTable
59
+ ALTER TABLE "ZoneNroTemplate" ADD COLUMN "files" JSONB;
@@ -1321,6 +1321,7 @@ model Cable {
1321
1321
  terminalAccess Boolean @default(false)
1322
1322
  photos Json? //Upload files for photos
1323
1323
  texts Json? //Add text attributes to the cable
1324
+ files Json? //Upload files for the cable
1324
1325
  zone Json? //Color code for zone
1325
1326
  geometry Json? //Icon for the cable
1326
1327
  attributes Json? //Attributes for the cable
@@ -1366,6 +1367,7 @@ model CableTemplate {
1366
1367
  name String?
1367
1368
  terminalAccess Boolean @default(false)
1368
1369
  photos Json? //Upload files for photos
1370
+ files Json? //Upload files for the cable
1369
1371
  texts Json? //Add text attributes to the cable
1370
1372
  zone Json? //Color code for zone
1371
1373
  geometry Json? //Icon for the cable
@@ -1438,6 +1440,7 @@ model PboFatTemplate {
1438
1440
  name String?
1439
1441
  photos Json? //Upload files for photos
1440
1442
  texts Json? //Add text attributes to the PBO FAT
1443
+ files Json? //Upload files for the PBO FAT
1441
1444
  zone Json? //Color code for zone
1442
1445
  geometry Json? //Icon for the PBO FAT
1443
1446
  attributes Json? //Attributes for the PBO FAT
@@ -1474,6 +1477,7 @@ model PboFat {
1474
1477
  name String?
1475
1478
  photos Json? //Upload files for photos
1476
1479
  texts Json? //Add text attributes to the PBO FAT
1480
+ files Json? //Upload files for the PBO FAT
1477
1481
  zone Json? //Color code for zone
1478
1482
  geometry Json? //Icon for the PBO FAT
1479
1483
  attributes Json? //Attributes for the PBO FAT
@@ -1554,6 +1558,7 @@ model SpliceClosure {
1554
1558
  terminalAccess Boolean @default(false)
1555
1559
  photos Json? //Upload files for photos
1556
1560
  texts Json? //Add text attributes to the PBO FAT
1561
+ files Json? //Upload files for the PBO FAT
1557
1562
  zone Json? //Color code for zone
1558
1563
  geometry Json? //Icon for the PBO FAT
1559
1564
  attributes Json? //Attributes for the PBO FAT
@@ -1602,6 +1607,7 @@ model SpliceClosureTemplate {
1602
1607
  terminalAccess Boolean @default(false)
1603
1608
  photos Json? //Upload files for photos
1604
1609
  texts Json? //Add text attributes to the PBO FAT
1610
+ files Json? //Upload files for the PBO FAT
1605
1611
  zone Json? //Color code for zone
1606
1612
  geometry Json? //Icon for the PBO FAT
1607
1613
  attributes Json? //Attributes for the PBO FAT
@@ -1663,6 +1669,7 @@ model ZoneNro {
1663
1669
  name String?
1664
1670
  photos Json?
1665
1671
  texts Json? //Add text attributes to the zone
1672
+ files Json? //Upload files for the zone
1666
1673
  zone Json?
1667
1674
  geometry Json?
1668
1675
  attributes Json?
@@ -1708,6 +1715,7 @@ model ZoneNroTemplate {
1708
1715
  name String?
1709
1716
  photos Json?
1710
1717
  texts Json? //Add text attributes to the zone
1718
+ files Json? //Upload files for the zone
1711
1719
  zone Json?
1712
1720
  geometry Json?
1713
1721
  attributes Json?
@@ -1742,6 +1750,7 @@ model Pole {
1742
1750
  name String?
1743
1751
  photos Json?
1744
1752
  texts Json? //Add text attributes to the pole
1753
+ files Json? //Upload files for the pole
1745
1754
  zone Json?
1746
1755
  geometry Json?
1747
1756
  attributes Json?
@@ -1784,6 +1793,7 @@ model PoleTemplate {
1784
1793
  name String?
1785
1794
  photos Json?
1786
1795
  texts Json? //Add text attributes to the pole
1796
+ files Json? //Upload files for the pole
1787
1797
  zone Json?
1788
1798
  geometry Json?
1789
1799
  attributes Json?
@@ -1817,6 +1827,7 @@ model Manhole {
1817
1827
  name String?
1818
1828
  photos Json?
1819
1829
  texts Json? //Add text attributes to the manhole
1830
+ files Json? //Upload files for the manhole
1820
1831
  zone Json?
1821
1832
  geometry Json?
1822
1833
  attributes Json?
@@ -1859,6 +1870,7 @@ model ManholeTemplate {
1859
1870
  name String?
1860
1871
  photos Json?
1861
1872
  texts Json? //Add text attributes to the manhole
1873
+ files Json? //Upload files for the manhole
1862
1874
  zone Json?
1863
1875
  geometry Json?
1864
1876
  attributes Json?
@@ -1892,6 +1904,7 @@ model Loop {
1892
1904
  name String?
1893
1905
  photos Json?
1894
1906
  texts Json? //Add text attributes to the loop
1907
+ files Json? //Upload files for the loop
1895
1908
  zone Json?
1896
1909
  geometry Json?
1897
1910
  attributes Json?
@@ -1934,6 +1947,7 @@ model LoopTemplate {
1934
1947
  name String?
1935
1948
  photos Json?
1936
1949
  texts Json? //Add text attributes to the loop
1950
+ files Json? //Upload files for the loop
1937
1951
  zone Json?
1938
1952
  geometry Json?
1939
1953
  attributes Json?
@@ -1967,6 +1981,7 @@ model FDTSRO {
1967
1981
  name String?
1968
1982
  photos Json?
1969
1983
  texts Json? //Add text attributes to the FDTSRO
1984
+ files Json? //Upload files for the FDTSRO
1970
1985
  zone Json?
1971
1986
  geometry Json?
1972
1987
  attributes Json?
@@ -2013,6 +2028,7 @@ model FDTSROTemplate {
2013
2028
  name String?
2014
2029
  photos Json?
2015
2030
  texts Json? //Add text attributes to the FDTSRO
2031
+ files Json? //Upload files for the FDTSRO
2016
2032
  zone Json?
2017
2033
  geometry Json?
2018
2034
  attributes Json?
@@ -2046,6 +2062,7 @@ model SFU {
2046
2062
  name String?
2047
2063
  photos Json?
2048
2064
  texts Json? //Add text attributes to the SFU
2065
+ files Json? //Upload files for the SFU
2049
2066
  zone Json?
2050
2067
  geometry Json?
2051
2068
  attributes Json?
@@ -2089,6 +2106,7 @@ model SFUTemplate {
2089
2106
  name String?
2090
2107
  photos Json?
2091
2108
  texts Json? //Add text attributes to the SFU
2109
+ files Json? //Upload files for the SFU
2092
2110
  zone Json?
2093
2111
  geometry Json?
2094
2112
  attributes Json?
@@ -2122,6 +2140,7 @@ model Building {
2122
2140
  name String?
2123
2141
  photos Json?
2124
2142
  texts Json? //Add text attributes to the building
2143
+ files Json? //Upload files for the building
2125
2144
  zone Json?
2126
2145
  geometry Json?
2127
2146
  attributes Json?
@@ -2170,6 +2189,7 @@ model BuildingTemplate {
2170
2189
  name String?
2171
2190
  photos Json?
2172
2191
  texts Json? //Add text attributes to the building
2192
+ files Json? //Upload files for the building
2173
2193
  zone Json?
2174
2194
  geometry Json?
2175
2195
  attributes Json?