efiber-prisma-schema 1.12.0 → 1.12.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efiber-prisma-schema",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
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;
@@ -1320,6 +1320,7 @@ 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
1323
1324
  zone Json? //Color code for zone
1324
1325
  geometry Json? //Icon for the cable
1325
1326
  attributes Json? //Attributes for the cable
@@ -1365,6 +1366,7 @@ model CableTemplate {
1365
1366
  name String?
1366
1367
  terminalAccess Boolean @default(false)
1367
1368
  photos Json? //Upload files for photos
1369
+ texts Json? //Add text attributes to the cable
1368
1370
  zone Json? //Color code for zone
1369
1371
  geometry Json? //Icon for the cable
1370
1372
  attributes Json? //Attributes for the cable
@@ -1435,6 +1437,7 @@ model PboFatTemplate {
1435
1437
  terminalAccess Boolean @default(false)
1436
1438
  name String?
1437
1439
  photos Json? //Upload files for photos
1440
+ texts Json? //Add text attributes to the PBO FAT
1438
1441
  zone Json? //Color code for zone
1439
1442
  geometry Json? //Icon for the PBO FAT
1440
1443
  attributes Json? //Attributes for the PBO FAT
@@ -1470,6 +1473,7 @@ model PboFat {
1470
1473
  terminalAccess Boolean @default(false)
1471
1474
  name String?
1472
1475
  photos Json? //Upload files for photos
1476
+ texts Json? //Add text attributes to the PBO FAT
1473
1477
  zone Json? //Color code for zone
1474
1478
  geometry Json? //Icon for the PBO FAT
1475
1479
  attributes Json? //Attributes for the PBO FAT
@@ -1549,6 +1553,7 @@ model SpliceClosure {
1549
1553
  status String @default("active")
1550
1554
  terminalAccess Boolean @default(false)
1551
1555
  photos Json? //Upload files for photos
1556
+ texts Json? //Add text attributes to the PBO FAT
1552
1557
  zone Json? //Color code for zone
1553
1558
  geometry Json? //Icon for the PBO FAT
1554
1559
  attributes Json? //Attributes for the PBO FAT
@@ -1596,6 +1601,7 @@ model SpliceClosureTemplate {
1596
1601
  status String @default("active")
1597
1602
  terminalAccess Boolean @default(false)
1598
1603
  photos Json? //Upload files for photos
1604
+ texts Json? //Add text attributes to the PBO FAT
1599
1605
  zone Json? //Color code for zone
1600
1606
  geometry Json? //Icon for the PBO FAT
1601
1607
  attributes Json? //Attributes for the PBO FAT
@@ -1656,6 +1662,7 @@ model ZoneNro {
1656
1662
  terminalAccess Boolean @default(false)
1657
1663
  name String?
1658
1664
  photos Json?
1665
+ texts Json? //Add text attributes to the zone
1659
1666
  zone Json?
1660
1667
  geometry Json?
1661
1668
  attributes Json?
@@ -1700,6 +1707,7 @@ model ZoneNroTemplate {
1700
1707
  terminalAccess Boolean @default(false)
1701
1708
  name String?
1702
1709
  photos Json?
1710
+ texts Json? //Add text attributes to the zone
1703
1711
  zone Json?
1704
1712
  geometry Json?
1705
1713
  attributes Json?
@@ -1733,6 +1741,7 @@ model Pole {
1733
1741
  terminalAccess Boolean @default(false)
1734
1742
  name String?
1735
1743
  photos Json?
1744
+ texts Json? //Add text attributes to the pole
1736
1745
  zone Json?
1737
1746
  geometry Json?
1738
1747
  attributes Json?
@@ -1774,6 +1783,7 @@ model PoleTemplate {
1774
1783
  terminalAccess Boolean @default(false)
1775
1784
  name String?
1776
1785
  photos Json?
1786
+ texts Json? //Add text attributes to the pole
1777
1787
  zone Json?
1778
1788
  geometry Json?
1779
1789
  attributes Json?
@@ -1806,6 +1816,7 @@ model Manhole {
1806
1816
  terminalAccess Boolean @default(false)
1807
1817
  name String?
1808
1818
  photos Json?
1819
+ texts Json? //Add text attributes to the manhole
1809
1820
  zone Json?
1810
1821
  geometry Json?
1811
1822
  attributes Json?
@@ -1847,6 +1858,7 @@ model ManholeTemplate {
1847
1858
  terminalAccess Boolean @default(false)
1848
1859
  name String?
1849
1860
  photos Json?
1861
+ texts Json? //Add text attributes to the manhole
1850
1862
  zone Json?
1851
1863
  geometry Json?
1852
1864
  attributes Json?
@@ -1879,6 +1891,7 @@ model Loop {
1879
1891
  terminalAccess Boolean @default(false)
1880
1892
  name String?
1881
1893
  photos Json?
1894
+ texts Json? //Add text attributes to the loop
1882
1895
  zone Json?
1883
1896
  geometry Json?
1884
1897
  attributes Json?
@@ -1920,6 +1933,7 @@ model LoopTemplate {
1920
1933
  terminalAccess Boolean @default(false)
1921
1934
  name String?
1922
1935
  photos Json?
1936
+ texts Json? //Add text attributes to the loop
1923
1937
  zone Json?
1924
1938
  geometry Json?
1925
1939
  attributes Json?
@@ -1952,6 +1966,7 @@ model FDTSRO {
1952
1966
  terminalAccess Boolean @default(false)
1953
1967
  name String?
1954
1968
  photos Json?
1969
+ texts Json? //Add text attributes to the FDTSRO
1955
1970
  zone Json?
1956
1971
  geometry Json?
1957
1972
  attributes Json?
@@ -1997,6 +2012,7 @@ model FDTSROTemplate {
1997
2012
  terminalAccess Boolean @default(false)
1998
2013
  name String?
1999
2014
  photos Json?
2015
+ texts Json? //Add text attributes to the FDTSRO
2000
2016
  zone Json?
2001
2017
  geometry Json?
2002
2018
  attributes Json?
@@ -2029,6 +2045,7 @@ model SFU {
2029
2045
  terminalAccess Boolean @default(false)
2030
2046
  name String?
2031
2047
  photos Json?
2048
+ texts Json? //Add text attributes to the SFU
2032
2049
  zone Json?
2033
2050
  geometry Json?
2034
2051
  attributes Json?
@@ -2071,6 +2088,7 @@ model SFUTemplate {
2071
2088
  terminalAccess Boolean @default(false)
2072
2089
  name String?
2073
2090
  photos Json?
2091
+ texts Json? //Add text attributes to the SFU
2074
2092
  zone Json?
2075
2093
  geometry Json?
2076
2094
  attributes Json?
@@ -2103,6 +2121,7 @@ model Building {
2103
2121
  terminalAccess Boolean @default(false)
2104
2122
  name String?
2105
2123
  photos Json?
2124
+ texts Json? //Add text attributes to the building
2106
2125
  zone Json?
2107
2126
  geometry Json?
2108
2127
  attributes Json?
@@ -2150,6 +2169,7 @@ model BuildingTemplate {
2150
2169
  terminalAccess Boolean @default(false)
2151
2170
  name String?
2152
2171
  photos Json?
2172
+ texts Json? //Add text attributes to the building
2153
2173
  zone Json?
2154
2174
  geometry Json?
2155
2175
  attributes Json?