@dbml/connector 5.3.0 → 5.3.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.
|
@@ -84,13 +84,6 @@
|
|
|
84
84
|
"value": "This table stores information about various items."
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
-
{
|
|
88
|
-
"name": "table_with_composite_primary_and_unique_indexes",
|
|
89
|
-
"schemaName": "dbo",
|
|
90
|
-
"note": {
|
|
91
|
-
"value": ""
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
87
|
{
|
|
95
88
|
"name": "Authors",
|
|
96
89
|
"schemaName": "dbo",
|
|
@@ -104,27 +97,6 @@
|
|
|
104
97
|
"note": {
|
|
105
98
|
"value": ""
|
|
106
99
|
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "AddressInfo",
|
|
110
|
-
"schemaName": "dbo",
|
|
111
|
-
"note": {
|
|
112
|
-
"value": ""
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"name": "AddressInfo2",
|
|
117
|
-
"schemaName": "dbo",
|
|
118
|
-
"note": {
|
|
119
|
-
"value": ""
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "TestDescriptionTable",
|
|
124
|
-
"schemaName": "dbo",
|
|
125
|
-
"note": {
|
|
126
|
-
"value": "This is the custom comment name on table."
|
|
127
|
-
}
|
|
128
100
|
}
|
|
129
101
|
],
|
|
130
102
|
"fields": {
|
|
@@ -482,8 +454,8 @@
|
|
|
482
454
|
{
|
|
483
455
|
"name": "status",
|
|
484
456
|
"type": {
|
|
485
|
-
"type_name": "
|
|
486
|
-
"schemaName":
|
|
457
|
+
"type_name": "chk_status",
|
|
458
|
+
"schemaName": "dbo"
|
|
487
459
|
},
|
|
488
460
|
"dbdefault": {
|
|
489
461
|
"type": "string",
|
|
@@ -1169,7 +1141,7 @@
|
|
|
1169
1141
|
},
|
|
1170
1142
|
"dbdefault": {
|
|
1171
1143
|
"type": "string",
|
|
1172
|
-
"value": "<Books>\n <Book>\n <Title>The Great Gatsby</Title>\n <Author>F. Scott Fitzgerald</Author>\n <Year>1925</Year>\n <Price>10.99</Price>\n <Publisher>Scribner</Publisher>\n <Location>New York</Location>\n <Genre>Fiction</Genre>\n <Subgenre>Classic</Subgenre>\n </Book>\n <Book>\n <Title>1984</Title>\n <Author>George Orwell</Author>\n <Year>1949</Year>\n <Price>8.99</Price>\n <Publisher>Secker & Warburg</Publisher>\n <Location>London</Location>\n <Genre>Dystopian</Genre>\n <Subgenre>Political Fiction</Subgenre>\n </Book>\n </Books>"
|
|
1144
|
+
"value": "<Books>\r\n <Book>\r\n <Title>The Great Gatsby</Title>\r\n <Author>F. Scott Fitzgerald</Author>\r\n <Year>1925</Year>\r\n <Price>10.99</Price>\r\n <Publisher>Scribner</Publisher>\r\n <Location>New York</Location>\r\n <Genre>Fiction</Genre>\r\n <Subgenre>Classic</Subgenre>\r\n </Book>\r\n <Book>\r\n <Title>1984</Title>\r\n <Author>George Orwell</Author>\r\n <Year>1949</Year>\r\n <Price>8.99</Price>\r\n <Publisher>Secker & Warburg</Publisher>\r\n <Location>London</Location>\r\n <Genre>Dystopian</Genre>\r\n <Subgenre>Political Fiction</Subgenre>\r\n </Book>\r\n </Books>"
|
|
1173
1145
|
},
|
|
1174
1146
|
"not_null": false,
|
|
1175
1147
|
"increment": false,
|
|
@@ -1303,8 +1275,8 @@
|
|
|
1303
1275
|
{
|
|
1304
1276
|
"name": "gender",
|
|
1305
1277
|
"type": {
|
|
1306
|
-
"type_name": "
|
|
1307
|
-
"schemaName":
|
|
1278
|
+
"type_name": "chk_gender",
|
|
1279
|
+
"schemaName": "dbo"
|
|
1308
1280
|
},
|
|
1309
1281
|
"dbdefault": null,
|
|
1310
1282
|
"not_null": false,
|
|
@@ -1423,60 +1395,6 @@
|
|
|
1423
1395
|
}
|
|
1424
1396
|
}
|
|
1425
1397
|
],
|
|
1426
|
-
"dbo.table_with_composite_primary_and_unique_indexes": [
|
|
1427
|
-
{
|
|
1428
|
-
"name": "col1",
|
|
1429
|
-
"type": {
|
|
1430
|
-
"type_name": "int(10)",
|
|
1431
|
-
"schemaName": null
|
|
1432
|
-
},
|
|
1433
|
-
"dbdefault": null,
|
|
1434
|
-
"not_null": true,
|
|
1435
|
-
"increment": false,
|
|
1436
|
-
"note": {
|
|
1437
|
-
"value": ""
|
|
1438
|
-
}
|
|
1439
|
-
},
|
|
1440
|
-
{
|
|
1441
|
-
"name": "col2",
|
|
1442
|
-
"type": {
|
|
1443
|
-
"type_name": "int(10)",
|
|
1444
|
-
"schemaName": null
|
|
1445
|
-
},
|
|
1446
|
-
"dbdefault": null,
|
|
1447
|
-
"not_null": true,
|
|
1448
|
-
"increment": false,
|
|
1449
|
-
"note": {
|
|
1450
|
-
"value": ""
|
|
1451
|
-
}
|
|
1452
|
-
},
|
|
1453
|
-
{
|
|
1454
|
-
"name": "col3",
|
|
1455
|
-
"type": {
|
|
1456
|
-
"type_name": "int(10)",
|
|
1457
|
-
"schemaName": null
|
|
1458
|
-
},
|
|
1459
|
-
"dbdefault": null,
|
|
1460
|
-
"not_null": false,
|
|
1461
|
-
"increment": false,
|
|
1462
|
-
"note": {
|
|
1463
|
-
"value": ""
|
|
1464
|
-
}
|
|
1465
|
-
},
|
|
1466
|
-
{
|
|
1467
|
-
"name": "col4",
|
|
1468
|
-
"type": {
|
|
1469
|
-
"type_name": "int(10)",
|
|
1470
|
-
"schemaName": null
|
|
1471
|
-
},
|
|
1472
|
-
"dbdefault": null,
|
|
1473
|
-
"not_null": false,
|
|
1474
|
-
"increment": false,
|
|
1475
|
-
"note": {
|
|
1476
|
-
"value": ""
|
|
1477
|
-
}
|
|
1478
|
-
}
|
|
1479
|
-
],
|
|
1480
1398
|
"dbo.Authors": [
|
|
1481
1399
|
{
|
|
1482
1400
|
"name": "AuthorID",
|
|
@@ -1597,119 +1515,46 @@
|
|
|
1597
1515
|
"value": ""
|
|
1598
1516
|
}
|
|
1599
1517
|
}
|
|
1600
|
-
]
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
"not_null": true,
|
|
1610
|
-
"increment": false,
|
|
1611
|
-
"note": {
|
|
1612
|
-
"value": ""
|
|
1613
|
-
}
|
|
1614
|
-
},
|
|
1615
|
-
{
|
|
1616
|
-
"name": "AddressFormatID",
|
|
1617
|
-
"type": {
|
|
1618
|
-
"type_name": "uniqueidentifier(16)",
|
|
1619
|
-
"schemaName": null
|
|
1620
|
-
},
|
|
1621
|
-
"dbdefault": null,
|
|
1622
|
-
"not_null": true,
|
|
1623
|
-
"increment": false,
|
|
1624
|
-
"note": {
|
|
1625
|
-
"value": ""
|
|
1626
|
-
}
|
|
1627
|
-
}
|
|
1628
|
-
],
|
|
1629
|
-
"dbo.AddressInfo2": [
|
|
1630
|
-
{
|
|
1631
|
-
"name": "A1",
|
|
1632
|
-
"type": {
|
|
1633
|
-
"type_name": "uniqueidentifier(16)",
|
|
1634
|
-
"schemaName": null
|
|
1518
|
+
]
|
|
1519
|
+
},
|
|
1520
|
+
"enums": [
|
|
1521
|
+
{
|
|
1522
|
+
"name": "chk_status",
|
|
1523
|
+
"schemaName": "dbo",
|
|
1524
|
+
"values": [
|
|
1525
|
+
{
|
|
1526
|
+
"name": "cancelled"
|
|
1635
1527
|
},
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
"increment": false,
|
|
1639
|
-
"note": {
|
|
1640
|
-
"value": ""
|
|
1641
|
-
}
|
|
1642
|
-
},
|
|
1643
|
-
{
|
|
1644
|
-
"name": "A2",
|
|
1645
|
-
"type": {
|
|
1646
|
-
"type_name": "uniqueidentifier(16)",
|
|
1647
|
-
"schemaName": null
|
|
1528
|
+
{
|
|
1529
|
+
"name": "delivered"
|
|
1648
1530
|
},
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
"increment": false,
|
|
1652
|
-
"note": {
|
|
1653
|
-
"value": ""
|
|
1654
|
-
}
|
|
1655
|
-
},
|
|
1656
|
-
{
|
|
1657
|
-
"name": "A3",
|
|
1658
|
-
"type": {
|
|
1659
|
-
"type_name": "uniqueidentifier(16)",
|
|
1660
|
-
"schemaName": null
|
|
1531
|
+
{
|
|
1532
|
+
"name": "shipped"
|
|
1661
1533
|
},
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
"increment": false,
|
|
1665
|
-
"note": {
|
|
1666
|
-
"value": ""
|
|
1667
|
-
}
|
|
1668
|
-
},
|
|
1669
|
-
{
|
|
1670
|
-
"name": "A4",
|
|
1671
|
-
"type": {
|
|
1672
|
-
"type_name": "uniqueidentifier(16)",
|
|
1673
|
-
"schemaName": null
|
|
1534
|
+
{
|
|
1535
|
+
"name": "processing"
|
|
1674
1536
|
},
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
"increment": false,
|
|
1678
|
-
"note": {
|
|
1679
|
-
"value": ""
|
|
1537
|
+
{
|
|
1538
|
+
"name": "pending"
|
|
1680
1539
|
}
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
"
|
|
1540
|
+
]
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"name": "chk_gender",
|
|
1544
|
+
"schemaName": "dbo",
|
|
1545
|
+
"values": [
|
|
1546
|
+
{
|
|
1547
|
+
"name": "Other"
|
|
1689
1548
|
},
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
"increment": false,
|
|
1693
|
-
"note": {
|
|
1694
|
-
"value": "Primary key identifier."
|
|
1695
|
-
}
|
|
1696
|
-
},
|
|
1697
|
-
{
|
|
1698
|
-
"name": "Name",
|
|
1699
|
-
"type": {
|
|
1700
|
-
"type_name": "nvarchar(100)",
|
|
1701
|
-
"schemaName": null
|
|
1549
|
+
{
|
|
1550
|
+
"name": "Female"
|
|
1702
1551
|
},
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
"increment": false,
|
|
1706
|
-
"note": {
|
|
1707
|
-
"value": "Name of the entity."
|
|
1552
|
+
{
|
|
1553
|
+
"name": "Male"
|
|
1708
1554
|
}
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
"enums": [],
|
|
1555
|
+
]
|
|
1556
|
+
}
|
|
1557
|
+
],
|
|
1713
1558
|
"refs": [
|
|
1714
1559
|
{
|
|
1715
1560
|
"name": "FK_AuthorNationality",
|
|
@@ -1843,9 +1688,7 @@
|
|
|
1843
1688
|
"type": "column",
|
|
1844
1689
|
"value": "product_id"
|
|
1845
1690
|
}
|
|
1846
|
-
]
|
|
1847
|
-
"pk": false,
|
|
1848
|
-
"unique": false
|
|
1691
|
+
]
|
|
1849
1692
|
}
|
|
1850
1693
|
],
|
|
1851
1694
|
"dbo.orders": [
|
|
@@ -1861,9 +1704,7 @@
|
|
|
1861
1704
|
"type": "column",
|
|
1862
1705
|
"value": "order_date"
|
|
1863
1706
|
}
|
|
1864
|
-
]
|
|
1865
|
-
"pk": false,
|
|
1866
|
-
"unique": false
|
|
1707
|
+
]
|
|
1867
1708
|
}
|
|
1868
1709
|
],
|
|
1869
1710
|
"dbo.products": [
|
|
@@ -1875,9 +1716,7 @@
|
|
|
1875
1716
|
"type": "column",
|
|
1876
1717
|
"value": "category"
|
|
1877
1718
|
}
|
|
1878
|
-
]
|
|
1879
|
-
"pk": false,
|
|
1880
|
-
"unique": false
|
|
1719
|
+
]
|
|
1881
1720
|
}
|
|
1882
1721
|
],
|
|
1883
1722
|
"dbo.users": [
|
|
@@ -1889,9 +1728,7 @@
|
|
|
1889
1728
|
"type": "column",
|
|
1890
1729
|
"value": "email"
|
|
1891
1730
|
}
|
|
1892
|
-
]
|
|
1893
|
-
"pk": false,
|
|
1894
|
-
"unique": false
|
|
1731
|
+
]
|
|
1895
1732
|
},
|
|
1896
1733
|
{
|
|
1897
1734
|
"name": "idx_users_full_name",
|
|
@@ -1901,9 +1738,7 @@
|
|
|
1901
1738
|
"type": "column",
|
|
1902
1739
|
"value": "full_name"
|
|
1903
1740
|
}
|
|
1904
|
-
]
|
|
1905
|
-
"pk": false,
|
|
1906
|
-
"unique": false
|
|
1741
|
+
]
|
|
1907
1742
|
},
|
|
1908
1743
|
{
|
|
1909
1744
|
"name": "idx_users_is_active_full_name",
|
|
@@ -1917,249 +1752,107 @@
|
|
|
1917
1752
|
"type": "column",
|
|
1918
1753
|
"value": "full_name_lower"
|
|
1919
1754
|
}
|
|
1920
|
-
]
|
|
1921
|
-
"pk": false,
|
|
1922
|
-
"unique": false
|
|
1755
|
+
]
|
|
1923
1756
|
}
|
|
1924
1757
|
]
|
|
1925
1758
|
},
|
|
1926
1759
|
"tableConstraints": {
|
|
1927
1760
|
"dbo.Authors": {
|
|
1928
1761
|
"AuthorID": {
|
|
1929
|
-
"checks": [],
|
|
1930
1762
|
"pk": true
|
|
1931
1763
|
},
|
|
1932
1764
|
"NationalityID": {
|
|
1933
|
-
"checks": [],
|
|
1934
1765
|
"pk": true
|
|
1935
1766
|
},
|
|
1936
1767
|
"AuthorName": {
|
|
1937
|
-
"checks": [],
|
|
1938
1768
|
"unique": true
|
|
1939
1769
|
},
|
|
1940
1770
|
"BirthYear": {
|
|
1941
|
-
"checks": [],
|
|
1942
1771
|
"unique": true
|
|
1943
1772
|
}
|
|
1944
1773
|
},
|
|
1945
1774
|
"dbo.Books": {
|
|
1946
1775
|
"BookID": {
|
|
1947
|
-
"checks": [],
|
|
1948
1776
|
"pk": true
|
|
1949
1777
|
},
|
|
1950
1778
|
"AuthorID": {
|
|
1951
|
-
"checks": [],
|
|
1952
1779
|
"pk": true
|
|
1953
1780
|
},
|
|
1954
1781
|
"ISBN": {
|
|
1955
|
-
"checks": [],
|
|
1956
1782
|
"unique": true
|
|
1957
1783
|
}
|
|
1958
1784
|
},
|
|
1959
1785
|
"dbo.DatetimeTypes": {
|
|
1960
1786
|
"ID": {
|
|
1961
|
-
"checks": [],
|
|
1962
1787
|
"pk": true
|
|
1963
1788
|
}
|
|
1964
1789
|
},
|
|
1965
1790
|
"dbo.gender_reference": {
|
|
1966
1791
|
"value": {
|
|
1967
|
-
"checks": [],
|
|
1968
1792
|
"pk": true
|
|
1969
1793
|
}
|
|
1970
1794
|
},
|
|
1971
1795
|
"dbo.NumberTypes": {
|
|
1972
1796
|
"ID": {
|
|
1973
|
-
"checks": [],
|
|
1974
1797
|
"pk": true
|
|
1975
1798
|
}
|
|
1976
1799
|
},
|
|
1977
1800
|
"dbo.NumberTypesNoDefault": {
|
|
1978
1801
|
"ID": {
|
|
1979
|
-
"checks": [],
|
|
1980
1802
|
"pk": true
|
|
1981
1803
|
}
|
|
1982
1804
|
},
|
|
1983
1805
|
"dbo.ObjectTypes": {
|
|
1984
1806
|
"Id": {
|
|
1985
|
-
"checks": [],
|
|
1986
1807
|
"pk": true
|
|
1987
1808
|
}
|
|
1988
1809
|
},
|
|
1989
1810
|
"dbo.order_items": {
|
|
1990
1811
|
"order_item_id": {
|
|
1991
|
-
"checks": [],
|
|
1992
1812
|
"pk": true
|
|
1993
1813
|
},
|
|
1994
1814
|
"order_id": {
|
|
1995
|
-
"checks": [],
|
|
1996
1815
|
"unique": true
|
|
1997
1816
|
},
|
|
1998
1817
|
"product_id": {
|
|
1999
|
-
"checks": [],
|
|
2000
1818
|
"unique": true
|
|
2001
|
-
},
|
|
2002
|
-
"quantity": {
|
|
2003
|
-
"checks": [
|
|
2004
|
-
{
|
|
2005
|
-
"name": "chk_quantity_positive",
|
|
2006
|
-
"expression": "[quantity]>(0)"
|
|
2007
|
-
}
|
|
2008
|
-
]
|
|
2009
|
-
},
|
|
2010
|
-
"unit_price": {
|
|
2011
|
-
"checks": [
|
|
2012
|
-
{
|
|
2013
|
-
"name": "chk_unit_price_positive",
|
|
2014
|
-
"expression": "[unit_price]>(0)"
|
|
2015
|
-
}
|
|
2016
|
-
]
|
|
2017
1819
|
}
|
|
2018
1820
|
},
|
|
2019
1821
|
"dbo.orders": {
|
|
2020
1822
|
"order_id": {
|
|
2021
|
-
"checks": [],
|
|
2022
1823
|
"pk": true
|
|
2023
|
-
},
|
|
2024
|
-
"total_amount": {
|
|
2025
|
-
"checks": [
|
|
2026
|
-
{
|
|
2027
|
-
"name": "chk_total_amount_positive",
|
|
2028
|
-
"expression": "[total_amount]>(0)"
|
|
2029
|
-
}
|
|
2030
|
-
]
|
|
2031
|
-
},
|
|
2032
|
-
"status": {
|
|
2033
|
-
"checks": [
|
|
2034
|
-
{
|
|
2035
|
-
"name": "chk_status",
|
|
2036
|
-
"expression": "[status]='cancelled' OR [status]='delivered' OR [status]='shipped' OR [status]='processing' OR [status]='pending'"
|
|
2037
|
-
}
|
|
2038
|
-
]
|
|
2039
1824
|
}
|
|
2040
1825
|
},
|
|
2041
1826
|
"dbo.products": {
|
|
2042
1827
|
"product_id": {
|
|
2043
|
-
"checks": [],
|
|
2044
1828
|
"pk": true
|
|
2045
|
-
},
|
|
2046
|
-
"price": {
|
|
2047
|
-
"checks": [
|
|
2048
|
-
{
|
|
2049
|
-
"name": "chk_price_positive",
|
|
2050
|
-
"expression": "[price]>(0)"
|
|
2051
|
-
}
|
|
2052
|
-
]
|
|
2053
|
-
},
|
|
2054
|
-
"stock_quantity": {
|
|
2055
|
-
"checks": [
|
|
2056
|
-
{
|
|
2057
|
-
"name": "chk_stock_non_negative",
|
|
2058
|
-
"expression": "[stock_quantity]>=(0)"
|
|
2059
|
-
}
|
|
2060
|
-
]
|
|
2061
1829
|
}
|
|
2062
1830
|
},
|
|
2063
1831
|
"dbo.StringTypes": {
|
|
2064
1832
|
"Id": {
|
|
2065
|
-
"checks": [],
|
|
2066
1833
|
"pk": true
|
|
2067
1834
|
}
|
|
2068
1835
|
},
|
|
2069
1836
|
"dbo.table_with_comments": {
|
|
2070
1837
|
"id": {
|
|
2071
|
-
"checks": [],
|
|
2072
|
-
"pk": true
|
|
2073
|
-
}
|
|
2074
|
-
},
|
|
2075
|
-
"dbo.table_with_composite_primary_and_unique_indexes": {
|
|
2076
|
-
"col1": {
|
|
2077
|
-
"checks": [],
|
|
2078
|
-
"pk": true
|
|
2079
|
-
},
|
|
2080
|
-
"col2": {
|
|
2081
|
-
"checks": [],
|
|
2082
1838
|
"pk": true
|
|
2083
|
-
},
|
|
2084
|
-
"col3": {
|
|
2085
|
-
"checks": [],
|
|
2086
|
-
"unique": true
|
|
2087
|
-
},
|
|
2088
|
-
"col4": {
|
|
2089
|
-
"checks": [],
|
|
2090
|
-
"unique": true
|
|
2091
1839
|
}
|
|
2092
1840
|
},
|
|
2093
1841
|
"dbo.user_define_data_types": {
|
|
2094
1842
|
"id": {
|
|
2095
|
-
"checks": [],
|
|
2096
1843
|
"pk": true
|
|
2097
|
-
},
|
|
2098
|
-
"gender": {
|
|
2099
|
-
"checks": [
|
|
2100
|
-
{
|
|
2101
|
-
"name": "chk_gender",
|
|
2102
|
-
"expression": "[gender]='Other' OR [gender]='Female' OR [gender]='Male'"
|
|
2103
|
-
}
|
|
2104
|
-
]
|
|
2105
1844
|
}
|
|
2106
1845
|
},
|
|
2107
1846
|
"dbo.users": {
|
|
2108
1847
|
"user_id": {
|
|
2109
|
-
"checks": [],
|
|
2110
1848
|
"pk": true
|
|
2111
1849
|
},
|
|
2112
1850
|
"email": {
|
|
2113
|
-
"checks": [
|
|
2114
|
-
{
|
|
2115
|
-
"name": "chk_email_format",
|
|
2116
|
-
"expression": "[email] like '%_@_%._%'"
|
|
2117
|
-
}
|
|
2118
|
-
],
|
|
2119
1851
|
"unique": true
|
|
2120
1852
|
},
|
|
2121
1853
|
"username": {
|
|
2122
|
-
"checks": [],
|
|
2123
1854
|
"unique": true
|
|
2124
|
-
},
|
|
2125
|
-
"date_of_birth": {
|
|
2126
|
-
"checks": [
|
|
2127
|
-
{
|
|
2128
|
-
"name": "chk_age",
|
|
2129
|
-
"expression": "[date_of_birth]<=dateadd(year,(-13),getdate())"
|
|
2130
|
-
}
|
|
2131
|
-
]
|
|
2132
|
-
}
|
|
2133
|
-
},
|
|
2134
|
-
"dbo.TestDescriptionTable": {
|
|
2135
|
-
"Name": {
|
|
2136
|
-
"checks": [
|
|
2137
|
-
{
|
|
2138
|
-
"name": "chk_name_len",
|
|
2139
|
-
"expression": "len([Name])>(6)"
|
|
2140
|
-
}
|
|
2141
|
-
]
|
|
2142
1855
|
}
|
|
2143
1856
|
}
|
|
2144
|
-
},
|
|
2145
|
-
"checks": {
|
|
2146
|
-
"dbo.user_define_data_types": [
|
|
2147
|
-
{
|
|
2148
|
-
"name": "chk_age_range",
|
|
2149
|
-
"expression": "[age_start]<=[age_end]"
|
|
2150
|
-
}
|
|
2151
|
-
],
|
|
2152
|
-
"dbo.AddressInfo": [
|
|
2153
|
-
{
|
|
2154
|
-
"name": "CK_Address_Valid",
|
|
2155
|
-
"expression": "([AddressID]='176029FA-D6D3-49E1-A48C-000000000002' OR [AddressID]='176029FA-D6D3-49E1-A48C-000000000001') AND ([AddressFormatID]='176029FA-D6D3-49E1-A48C-000000000002' OR [AddressFormatID]='176029FA-D6D3-49E1-A48C-000000000001')"
|
|
2156
|
-
}
|
|
2157
|
-
],
|
|
2158
|
-
"dbo.AddressInfo2": [
|
|
2159
|
-
{
|
|
2160
|
-
"name": "CK_Address_Valid2",
|
|
2161
|
-
"expression": "([A1]='333' OR [A1]='2222' OR [A1]='1111') AND ([A2]='2222' OR [A2]='1111') AND ([A3]='1111' OR [A3]='2222') AND ([A4]='3333' OR [A4]='2222')"
|
|
2162
|
-
}
|
|
2163
|
-
]
|
|
2164
1857
|
}
|
|
2165
1858
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@dbml/connector",
|
|
4
|
-
"version": "5.3.
|
|
4
|
+
"version": "5.3.1",
|
|
5
5
|
"description": "This package was created to fetch the schema JSON from many kind of databases.",
|
|
6
6
|
"author": "huy.phung.sw@gmail.com",
|
|
7
7
|
"license": "MIT",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"mysql2": "^3.11.0",
|
|
51
51
|
"oracledb": "^6.10.0",
|
|
52
52
|
"pg": "^8.12.0",
|
|
53
|
-
"snowflake-sdk": "^2.
|
|
53
|
+
"snowflake-sdk": "^2.3.3"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=18"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "54ca4861d608adbfc17c86d840c2e663e9c428f9"
|
|
59
59
|
}
|