efiber-prisma-schema 1.12.7 → 1.12.8
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
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
-- AlterTable
|
|
2
|
+
ALTER TABLE "Building" ADD COLUMN "installationDate" TIMESTAMP(3),
|
|
3
|
+
ADD COLUMN "isInstalled" BOOLEAN NOT NULL DEFAULT false;
|
|
4
|
+
|
|
5
|
+
-- AlterTable
|
|
6
|
+
ALTER TABLE "Cable" ADD COLUMN "actualCableLength" DOUBLE PRECISION,
|
|
7
|
+
ADD COLUMN "asBuiltCoordinates" JSONB,
|
|
8
|
+
ADD COLUMN "installationDate" TIMESTAMP(3),
|
|
9
|
+
ADD COLUMN "isInstalled" BOOLEAN NOT NULL DEFAULT false;
|
|
10
|
+
|
|
11
|
+
-- AlterTable
|
|
12
|
+
ALTER TABLE "FDTSRO" ADD COLUMN "installationDate" TIMESTAMP(3),
|
|
13
|
+
ADD COLUMN "isInstalled" BOOLEAN NOT NULL DEFAULT false;
|
|
14
|
+
|
|
15
|
+
-- AlterTable
|
|
16
|
+
ALTER TABLE "Loop" ADD COLUMN "installationDate" TIMESTAMP(3),
|
|
17
|
+
ADD COLUMN "isInstalled" BOOLEAN NOT NULL DEFAULT false;
|
|
18
|
+
|
|
19
|
+
-- AlterTable
|
|
20
|
+
ALTER TABLE "Manhole" ADD COLUMN "installationDate" TIMESTAMP(3),
|
|
21
|
+
ADD COLUMN "isInstalled" BOOLEAN NOT NULL DEFAULT false;
|
|
22
|
+
|
|
23
|
+
-- AlterTable
|
|
24
|
+
ALTER TABLE "PboFat" ADD COLUMN "installationDate" TIMESTAMP(3),
|
|
25
|
+
ADD COLUMN "isInstalled" BOOLEAN NOT NULL DEFAULT false;
|
|
26
|
+
|
|
27
|
+
-- AlterTable
|
|
28
|
+
ALTER TABLE "Pole" ADD COLUMN "installationDate" TIMESTAMP(3),
|
|
29
|
+
ADD COLUMN "isInstalled" BOOLEAN NOT NULL DEFAULT false;
|
|
30
|
+
|
|
31
|
+
-- AlterTable
|
|
32
|
+
ALTER TABLE "SFU" ADD COLUMN "installationDate" TIMESTAMP(3),
|
|
33
|
+
ADD COLUMN "isInstalled" BOOLEAN NOT NULL DEFAULT false;
|
|
34
|
+
|
|
35
|
+
-- AlterTable
|
|
36
|
+
ALTER TABLE "SpliceClosure" ADD COLUMN "installationDate" TIMESTAMP(3),
|
|
37
|
+
ADD COLUMN "isInstalled" BOOLEAN NOT NULL DEFAULT false;
|
package/prisma/schema.prisma
CHANGED
|
@@ -1349,8 +1349,13 @@ model Cable {
|
|
|
1349
1349
|
namePrefix String?
|
|
1350
1350
|
templateIndex Int?
|
|
1351
1351
|
|
|
1352
|
+
asBuiltCoordinates Json? //As built coordinates
|
|
1353
|
+
isInstalled Boolean @default(false)
|
|
1354
|
+
installationDate DateTime?
|
|
1355
|
+
|
|
1352
1356
|
// Reporting mirrors
|
|
1353
1357
|
cableLength Float? //Length of the cable in meters
|
|
1358
|
+
actualCableLength Float? //Actual length of the cable in meters
|
|
1354
1359
|
|
|
1355
1360
|
createdAt DateTime @default(now())
|
|
1356
1361
|
updatedAt DateTime @updatedAt
|
|
@@ -1506,6 +1511,8 @@ model PboFat {
|
|
|
1506
1511
|
templateIndex Int?
|
|
1507
1512
|
|
|
1508
1513
|
asBuiltCoordinates Json? //Coordinates when installed
|
|
1514
|
+
isInstalled Boolean @default(false)
|
|
1515
|
+
installationDate DateTime?
|
|
1509
1516
|
|
|
1510
1517
|
// Reporting mirrors
|
|
1511
1518
|
fatMaxCapacity Int? //Maximum capacity of the PBO FAT
|
|
@@ -1590,6 +1597,8 @@ model SpliceClosure {
|
|
|
1590
1597
|
templateIndex Int?
|
|
1591
1598
|
|
|
1592
1599
|
asBuiltCoordinates Json? //Coordinates when installed
|
|
1600
|
+
isInstalled Boolean @default(false)
|
|
1601
|
+
installationDate DateTime?
|
|
1593
1602
|
|
|
1594
1603
|
// Reporting mirrors
|
|
1595
1604
|
spliceClosureMaxCapacity Int? //Maximum capacity of the Splice Closure
|
|
@@ -1783,6 +1792,8 @@ model Pole {
|
|
|
1783
1792
|
templateIndex Int?
|
|
1784
1793
|
|
|
1785
1794
|
asBuiltCoordinates Json? //Coordinates when installed
|
|
1795
|
+
isInstalled Boolean @default(false)
|
|
1796
|
+
installationDate DateTime?
|
|
1786
1797
|
|
|
1787
1798
|
createdAt DateTime @default(now())
|
|
1788
1799
|
updatedAt DateTime @updatedAt
|
|
@@ -1862,6 +1873,8 @@ model Manhole {
|
|
|
1862
1873
|
templateIndex Int?
|
|
1863
1874
|
|
|
1864
1875
|
asBuiltCoordinates Json? //Coordinates when installed
|
|
1876
|
+
isInstalled Boolean @default(false)
|
|
1877
|
+
installationDate DateTime?
|
|
1865
1878
|
|
|
1866
1879
|
createdAt DateTime @default(now())
|
|
1867
1880
|
updatedAt DateTime @updatedAt
|
|
@@ -1941,6 +1954,8 @@ model Loop {
|
|
|
1941
1954
|
templateIndex Int?
|
|
1942
1955
|
|
|
1943
1956
|
asBuiltCoordinates Json? //Coordinates when installed
|
|
1957
|
+
isInstalled Boolean @default(false)
|
|
1958
|
+
installationDate DateTime?
|
|
1944
1959
|
|
|
1945
1960
|
createdAt DateTime @default(now())
|
|
1946
1961
|
updatedAt DateTime @updatedAt
|
|
@@ -2020,6 +2035,8 @@ model FDTSRO {
|
|
|
2020
2035
|
templateIndex Int?
|
|
2021
2036
|
|
|
2022
2037
|
asBuiltCoordinates Json? //Coordinates when installed
|
|
2038
|
+
isInstalled Boolean @default(false)
|
|
2039
|
+
installationDate DateTime?
|
|
2023
2040
|
|
|
2024
2041
|
// Reporting mirrors
|
|
2025
2042
|
fdtsroMaxCapacity Int? //Maximum capacity of the FDTSRO
|
|
@@ -2103,6 +2120,8 @@ model SFU {
|
|
|
2103
2120
|
templateIndex Int?
|
|
2104
2121
|
|
|
2105
2122
|
asBuiltCoordinates Json? //Coordinates when installed
|
|
2123
|
+
isInstalled Boolean @default(false)
|
|
2124
|
+
installationDate DateTime?
|
|
2106
2125
|
|
|
2107
2126
|
createdAt DateTime @default(now())
|
|
2108
2127
|
updatedAt DateTime @updatedAt
|
|
@@ -2183,6 +2202,8 @@ model Building {
|
|
|
2183
2202
|
templateIndex Int?
|
|
2184
2203
|
|
|
2185
2204
|
asBuiltCoordinates Json? //Coordinates when installed
|
|
2205
|
+
isInstalled Boolean @default(false)
|
|
2206
|
+
installationDate DateTime?
|
|
2186
2207
|
|
|
2187
2208
|
// Reporting mirrors
|
|
2188
2209
|
totalFlats Int? //Total number of flats in the building
|