efiber-prisma-schema 1.6.9 → 1.6.11

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.6.9",
3
+ "version": "1.6.11",
4
4
  "description": "Database schema for eFiber",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1204,6 +1204,7 @@ model Cable {
1204
1204
  coordinates Json?
1205
1205
  autoincrement Boolean @default(true)
1206
1206
  namePrefix String?
1207
+ templateIndex Int?
1207
1208
 
1208
1209
  createdAt DateTime @default(now())
1209
1210
  updatedAt DateTime @updatedAt
@@ -1237,6 +1238,8 @@ model CableTemplate {
1237
1238
  geometry Json? //Icon for the cable
1238
1239
  attributes Json? //Attributes for the cable
1239
1240
  coordinates Json?
1241
+ autoincrement Boolean @default(true)
1242
+ namePrefix String?
1240
1243
 
1241
1244
  createdAt DateTime @default(now())
1242
1245
  updatedAt DateTime @updatedAt
@@ -1302,6 +1305,8 @@ model PboFatTemplate {
1302
1305
  zone Json? //Color code for zone
1303
1306
  geometry Json? //Icon for the PBO FAT
1304
1307
  attributes Json? //Attributes for the PBO FAT
1308
+ autoincrement Boolean @default(true)
1309
+ namePrefix String?
1305
1310
 
1306
1311
  createdAt DateTime @default(now())
1307
1312
  updatedAt DateTime @updatedAt
@@ -1335,6 +1340,7 @@ model PboFat {
1335
1340
  attributes Json? //Attributes for the PBO FAT
1336
1341
  autoincrement Boolean @default(true)
1337
1342
  namePrefix String?
1343
+ templateIndex Int?
1338
1344
 
1339
1345
  createdAt DateTime @default(now())
1340
1346
  updatedAt DateTime @updatedAt
@@ -1396,6 +1402,7 @@ model SpliceClosure {
1396
1402
  description String?
1397
1403
  autoincrement Boolean @default(true)
1398
1404
  namePrefix String?
1405
+ templateIndex Int?
1399
1406
 
1400
1407
  createdAt DateTime @default(now())
1401
1408
  updatedAt DateTime @updatedAt
@@ -1428,6 +1435,8 @@ model SpliceClosureTemplate {
1428
1435
  geometry Json? //Icon for the PBO FAT
1429
1436
  attributes Json? //Attributes for the PBO FAT
1430
1437
  description String?
1438
+ autoincrement Boolean @default(true)
1439
+ namePrefix String?
1431
1440
 
1432
1441
  createdAt DateTime @default(now())
1433
1442
  updatedAt DateTime @updatedAt
@@ -1488,6 +1497,7 @@ model ZoneNro {
1488
1497
  coordinates Json?
1489
1498
  autoincrement Boolean @default(true)
1490
1499
  namePrefix String?
1500
+ templateIndex Int?
1491
1501
 
1492
1502
  createdAt DateTime @default(now())
1493
1503
  updatedAt DateTime @updatedAt
@@ -1519,6 +1529,8 @@ model ZoneNroTemplate {
1519
1529
  geometry Json?
1520
1530
  attributes Json?
1521
1531
  coordinates Json?
1532
+ autoincrement Boolean @default(true)
1533
+ namePrefix String?
1522
1534
 
1523
1535
  createdAt DateTime @default(now())
1524
1536
  updatedAt DateTime @updatedAt
@@ -1551,6 +1563,7 @@ model Pole {
1551
1563
  attributes Json?
1552
1564
  autoincrement Boolean @default(true)
1553
1565
  namePrefix String?
1566
+ templateIndex Int?
1554
1567
 
1555
1568
  createdAt DateTime @default(now())
1556
1569
  updatedAt DateTime @updatedAt
@@ -1581,6 +1594,8 @@ model PoleTemplate {
1581
1594
  zone Json?
1582
1595
  geometry Json?
1583
1596
  attributes Json?
1597
+ autoincrement Boolean @default(true)
1598
+ namePrefix String?
1584
1599
 
1585
1600
  createdAt DateTime @default(now())
1586
1601
  updatedAt DateTime @updatedAt
@@ -1613,6 +1628,7 @@ model Manhole {
1613
1628
  attributes Json?
1614
1629
  autoincrement Boolean @default(true)
1615
1630
  namePrefix String?
1631
+ templateIndex Int?
1616
1632
 
1617
1633
  createdAt DateTime @default(now())
1618
1634
  updatedAt DateTime @updatedAt
@@ -1643,6 +1659,8 @@ model ManholeTemplate {
1643
1659
  zone Json?
1644
1660
  geometry Json?
1645
1661
  attributes Json?
1662
+ autoincrement Boolean @default(true)
1663
+ namePrefix String?
1646
1664
 
1647
1665
  createdAt DateTime @default(now())
1648
1666
  updatedAt DateTime @updatedAt
@@ -1675,6 +1693,7 @@ model Loop {
1675
1693
  attributes Json?
1676
1694
  autoincrement Boolean @default(true)
1677
1695
  namePrefix String?
1696
+ templateIndex Int?
1678
1697
 
1679
1698
  createdAt DateTime @default(now())
1680
1699
  updatedAt DateTime @updatedAt
@@ -1705,6 +1724,8 @@ model LoopTemplate {
1705
1724
  zone Json?
1706
1725
  geometry Json?
1707
1726
  attributes Json?
1727
+ autoincrement Boolean @default(true)
1728
+ namePrefix String?
1708
1729
 
1709
1730
  createdAt DateTime @default(now())
1710
1731
  updatedAt DateTime @updatedAt
@@ -1737,6 +1758,7 @@ model FDTSRO {
1737
1758
  attributes Json?
1738
1759
  autoincrement Boolean @default(true)
1739
1760
  namePrefix String?
1761
+ templateIndex Int?
1740
1762
 
1741
1763
  createdAt DateTime @default(now())
1742
1764
  updatedAt DateTime @updatedAt
@@ -1767,6 +1789,8 @@ model FDTSROTemplate {
1767
1789
  zone Json?
1768
1790
  geometry Json?
1769
1791
  attributes Json?
1792
+ autoincrement Boolean @default(true)
1793
+ namePrefix String?
1770
1794
 
1771
1795
  createdAt DateTime @default(now())
1772
1796
  updatedAt DateTime @updatedAt
@@ -1799,6 +1823,7 @@ model SFU {
1799
1823
  attributes Json?
1800
1824
  autoincrement Boolean @default(true)
1801
1825
  namePrefix String?
1826
+ templateIndex Int?
1802
1827
 
1803
1828
  createdAt DateTime @default(now())
1804
1829
  updatedAt DateTime @updatedAt
@@ -1829,6 +1854,8 @@ model SFUTemplate {
1829
1854
  zone Json?
1830
1855
  geometry Json?
1831
1856
  attributes Json?
1857
+ autoincrement Boolean @default(true)
1858
+ namePrefix String?
1832
1859
 
1833
1860
  createdAt DateTime @default(now())
1834
1861
  updatedAt DateTime @updatedAt
@@ -1861,6 +1888,7 @@ model Building {
1861
1888
  attributes Json?
1862
1889
  autoincrement Boolean @default(true)
1863
1890
  namePrefix String?
1891
+ templateIndex Int?
1864
1892
 
1865
1893
  createdAt DateTime @default(now())
1866
1894
  updatedAt DateTime @updatedAt
@@ -1891,6 +1919,8 @@ model BuildingTemplate {
1891
1919
  zone Json?
1892
1920
  geometry Json?
1893
1921
  attributes Json?
1922
+ autoincrement Boolean @default(true)
1923
+ namePrefix String?
1894
1924
 
1895
1925
  createdAt DateTime @default(now())
1896
1926
  updatedAt DateTime @updatedAt