Skip to content

Commit 650e1f9

Browse files
add adapter for lower dbVersion (#157)
1 parent d23fe20 commit 650e1f9

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

properties_pane/model_level/modelLevelConfig.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,21 @@ making sure that you maintain a proper JSON format.
7272
"propertyTooltip": "DB version",
7373
"propertyType": "select",
7474
"options": ["2008", "2012", "2014", "2016", "2017", "2019", "2022", "2025"],
75-
"disabledOption": false
75+
"disabledOption": false,
76+
"adapters": [
77+
{
78+
"dependency": {
79+
"type": "not",
80+
"values": [
81+
{
82+
"key": "dbVersion",
83+
"value": "2025"
84+
}
85+
]
86+
},
87+
"adapter": "adaptJsonTypesToVarchar"
88+
}
89+
]
7690
},
7791
{
7892
"propertyName": "Comments",

0 commit comments

Comments
 (0)