efiber-prisma-schema 1.12.0 → 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.0",
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 "texts" JSONB;
3
+
4
+ -- AlterTable
5
+ ALTER TABLE "BuildingTemplate" ADD COLUMN "texts" JSONB;
6
+
7
+ -- AlterTable
8
+ ALTER TABLE "Cable" ADD COLUMN "texts" JSONB;
9
+
10
+ -- AlterTable
11
+ ALTER TABLE "CableTemplate" ADD COLUMN "texts" JSONB;
12
+
13
+ -- AlterTable
14
+ ALTER TABLE "FDTSRO" ADD COLUMN "texts" JSONB;
15
+
16
+ -- AlterTable
17
+ ALTER TABLE "FDTSROTemplate" ADD COLUMN "texts" JSONB;
18
+
19
+ -- AlterTable
20
+ ALTER TABLE "Loop" ADD COLUMN "texts" JSONB;
21
+
22
+ -- AlterTable
23
+ ALTER TABLE "LoopTemplate" ADD COLUMN "texts" JSONB;
24
+
25
+ -- AlterTable
26
+ ALTER TABLE "Manhole" ADD COLUMN "texts" JSONB;
27
+
28
+ -- AlterTable
29
+ ALTER TABLE "ManholeTemplate" ADD COLUMN "texts" JSONB;
30
+
31
+ -- AlterTable
32
+ ALTER TABLE "PboFat" ADD COLUMN "texts" JSONB;
33
+
34
+ -- AlterTable
35
+ ALTER TABLE "PboFatTemplate" ADD COLUMN "texts" JSONB;
36
+
37
+ -- AlterTable
38
+ ALTER TABLE "Pole" ADD COLUMN "texts" JSONB;
39
+
40
+ -- AlterTable
41
+ ALTER TABLE "PoleTemplate" ADD COLUMN "texts" JSONB;
42
+
43
+ -- AlterTable
44
+ ALTER TABLE "SFU" ADD COLUMN "texts" JSONB;
45
+
46
+ -- AlterTable
47
+ ALTER TABLE "SFUTemplate" ADD COLUMN "texts" JSONB;
48
+
49
+ -- AlterTable
50
+ ALTER TABLE "SpliceClosure" ADD COLUMN "texts" JSONB;
51
+
52
+ -- AlterTable
53
+ ALTER TABLE "SpliceClosureTemplate" ADD COLUMN "texts" JSONB;
54
+
55
+ -- AlterTable
56
+ ALTER TABLE "ZoneNro" ADD COLUMN "texts" JSONB;
57
+
58
+ -- AlterTable
59
+ ALTER TABLE "ZoneNroTemplate" ADD COLUMN "texts" JSONB;
@@ -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;
@@ -1320,6 +1320,8 @@ model Cable {
1320
1320
  name String?
1321
1321
  terminalAccess Boolean @default(false)
1322
1322
  photos Json? //Upload files for photos
1323
+ texts Json? //Add text attributes to the cable
1324
+ files Json? //Upload files for the cable
1323
1325
  zone Json? //Color code for zone
1324
1326
  geometry Json? //Icon for the cable
1325
1327
  attributes Json? //Attributes for the cable
@@ -1365,6 +1367,8 @@ model CableTemplate {
1365
1367
  name String?
1366
1368
  terminalAccess Boolean @default(false)
1367
1369
  photos Json? //Upload files for photos
1370
+ files Json? //Upload files for the cable
1371
+ texts Json? //Add text attributes to the cable
1368
1372
  zone Json? //Color code for zone
1369
1373
  geometry Json? //Icon for the cable
1370
1374
  attributes Json? //Attributes for the cable
@@ -1435,6 +1439,8 @@ model PboFatTemplate {
1435
1439
  terminalAccess Boolean @default(false)
1436
1440
  name String?
1437
1441
  photos Json? //Upload files for photos
1442
+ texts Json? //Add text attributes to the PBO FAT
1443
+ files Json? //Upload files for the PBO FAT
1438
1444
  zone Json? //Color code for zone
1439
1445
  geometry Json? //Icon for the PBO FAT
1440
1446
  attributes Json? //Attributes for the PBO FAT
@@ -1470,6 +1476,8 @@ model PboFat {
1470
1476
  terminalAccess Boolean @default(false)
1471
1477
  name String?
1472
1478
  photos Json? //Upload files for photos
1479
+ texts Json? //Add text attributes to the PBO FAT
1480
+ files Json? //Upload files for the PBO FAT
1473
1481
  zone Json? //Color code for zone
1474
1482
  geometry Json? //Icon for the PBO FAT
1475
1483
  attributes Json? //Attributes for the PBO FAT
@@ -1549,6 +1557,8 @@ model SpliceClosure {
1549
1557
  status String @default("active")
1550
1558
  terminalAccess Boolean @default(false)
1551
1559
  photos Json? //Upload files for photos
1560
+ texts Json? //Add text attributes to the PBO FAT
1561
+ files Json? //Upload files for the PBO FAT
1552
1562
  zone Json? //Color code for zone
1553
1563
  geometry Json? //Icon for the PBO FAT
1554
1564
  attributes Json? //Attributes for the PBO FAT
@@ -1596,6 +1606,8 @@ model SpliceClosureTemplate {
1596
1606
  status String @default("active")
1597
1607
  terminalAccess Boolean @default(false)
1598
1608
  photos Json? //Upload files for photos
1609
+ texts Json? //Add text attributes to the PBO FAT
1610
+ files Json? //Upload files for the PBO FAT
1599
1611
  zone Json? //Color code for zone
1600
1612
  geometry Json? //Icon for the PBO FAT
1601
1613
  attributes Json? //Attributes for the PBO FAT
@@ -1656,6 +1668,8 @@ model ZoneNro {
1656
1668
  terminalAccess Boolean @default(false)
1657
1669
  name String?
1658
1670
  photos Json?
1671
+ texts Json? //Add text attributes to the zone
1672
+ files Json? //Upload files for the zone
1659
1673
  zone Json?
1660
1674
  geometry Json?
1661
1675
  attributes Json?
@@ -1700,6 +1714,8 @@ model ZoneNroTemplate {
1700
1714
  terminalAccess Boolean @default(false)
1701
1715
  name String?
1702
1716
  photos Json?
1717
+ texts Json? //Add text attributes to the zone
1718
+ files Json? //Upload files for the zone
1703
1719
  zone Json?
1704
1720
  geometry Json?
1705
1721
  attributes Json?
@@ -1733,6 +1749,8 @@ model Pole {
1733
1749
  terminalAccess Boolean @default(false)
1734
1750
  name String?
1735
1751
  photos Json?
1752
+ texts Json? //Add text attributes to the pole
1753
+ files Json? //Upload files for the pole
1736
1754
  zone Json?
1737
1755
  geometry Json?
1738
1756
  attributes Json?
@@ -1774,6 +1792,8 @@ model PoleTemplate {
1774
1792
  terminalAccess Boolean @default(false)
1775
1793
  name String?
1776
1794
  photos Json?
1795
+ texts Json? //Add text attributes to the pole
1796
+ files Json? //Upload files for the pole
1777
1797
  zone Json?
1778
1798
  geometry Json?
1779
1799
  attributes Json?
@@ -1806,6 +1826,8 @@ model Manhole {
1806
1826
  terminalAccess Boolean @default(false)
1807
1827
  name String?
1808
1828
  photos Json?
1829
+ texts Json? //Add text attributes to the manhole
1830
+ files Json? //Upload files for the manhole
1809
1831
  zone Json?
1810
1832
  geometry Json?
1811
1833
  attributes Json?
@@ -1847,6 +1869,8 @@ model ManholeTemplate {
1847
1869
  terminalAccess Boolean @default(false)
1848
1870
  name String?
1849
1871
  photos Json?
1872
+ texts Json? //Add text attributes to the manhole
1873
+ files Json? //Upload files for the manhole
1850
1874
  zone Json?
1851
1875
  geometry Json?
1852
1876
  attributes Json?
@@ -1879,6 +1903,8 @@ model Loop {
1879
1903
  terminalAccess Boolean @default(false)
1880
1904
  name String?
1881
1905
  photos Json?
1906
+ texts Json? //Add text attributes to the loop
1907
+ files Json? //Upload files for the loop
1882
1908
  zone Json?
1883
1909
  geometry Json?
1884
1910
  attributes Json?
@@ -1920,6 +1946,8 @@ model LoopTemplate {
1920
1946
  terminalAccess Boolean @default(false)
1921
1947
  name String?
1922
1948
  photos Json?
1949
+ texts Json? //Add text attributes to the loop
1950
+ files Json? //Upload files for the loop
1923
1951
  zone Json?
1924
1952
  geometry Json?
1925
1953
  attributes Json?
@@ -1952,6 +1980,8 @@ model FDTSRO {
1952
1980
  terminalAccess Boolean @default(false)
1953
1981
  name String?
1954
1982
  photos Json?
1983
+ texts Json? //Add text attributes to the FDTSRO
1984
+ files Json? //Upload files for the FDTSRO
1955
1985
  zone Json?
1956
1986
  geometry Json?
1957
1987
  attributes Json?
@@ -1997,6 +2027,8 @@ model FDTSROTemplate {
1997
2027
  terminalAccess Boolean @default(false)
1998
2028
  name String?
1999
2029
  photos Json?
2030
+ texts Json? //Add text attributes to the FDTSRO
2031
+ files Json? //Upload files for the FDTSRO
2000
2032
  zone Json?
2001
2033
  geometry Json?
2002
2034
  attributes Json?
@@ -2029,6 +2061,8 @@ model SFU {
2029
2061
  terminalAccess Boolean @default(false)
2030
2062
  name String?
2031
2063
  photos Json?
2064
+ texts Json? //Add text attributes to the SFU
2065
+ files Json? //Upload files for the SFU
2032
2066
  zone Json?
2033
2067
  geometry Json?
2034
2068
  attributes Json?
@@ -2071,6 +2105,8 @@ model SFUTemplate {
2071
2105
  terminalAccess Boolean @default(false)
2072
2106
  name String?
2073
2107
  photos Json?
2108
+ texts Json? //Add text attributes to the SFU
2109
+ files Json? //Upload files for the SFU
2074
2110
  zone Json?
2075
2111
  geometry Json?
2076
2112
  attributes Json?
@@ -2103,6 +2139,8 @@ model Building {
2103
2139
  terminalAccess Boolean @default(false)
2104
2140
  name String?
2105
2141
  photos Json?
2142
+ texts Json? //Add text attributes to the building
2143
+ files Json? //Upload files for the building
2106
2144
  zone Json?
2107
2145
  geometry Json?
2108
2146
  attributes Json?
@@ -2150,6 +2188,8 @@ model BuildingTemplate {
2150
2188
  terminalAccess Boolean @default(false)
2151
2189
  name String?
2152
2190
  photos Json?
2191
+ texts Json? //Add text attributes to the building
2192
+ files Json? //Upload files for the building
2153
2193
  zone Json?
2154
2194
  geometry Json?
2155
2195
  attributes Json?