1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Support Microsoft SQL Azure v12+

This commit is contained in:
Harvey Kandola 2024-01-15 14:43:27 -05:00
parent 9f122fa79b
commit 1f462ed4f7
4 changed files with 8 additions and 6 deletions

View file

@ -346,7 +346,8 @@ func (p SQLServerProvider) JSONGetValue(column, attribute string) string {
// See: http://sqlserverbuilds.blogspot.com
func (p SQLServerProvider) VerfiyVersion(dbVersion string) (bool, string) {
if strings.HasPrefix(dbVersion, "13.") ||
if strings.HasPrefix(dbVersion, "12.") ||
strings.HasPrefix(dbVersion, "13.") ||
strings.HasPrefix(dbVersion, "14.") ||
strings.HasPrefix(dbVersion, "15.") ||
strings.HasPrefix(dbVersion, "16.") {