mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +02:00
Support Microsoft SQL Azure v12+
This commit is contained in:
parent
9f122fa79b
commit
1f462ed4f7
4 changed files with 8 additions and 6 deletions
|
@ -41,8 +41,8 @@ func main() {
|
|||
rt.Product = domain.Product{}
|
||||
rt.Product.Major = "5"
|
||||
rt.Product.Minor = "11"
|
||||
rt.Product.Patch = "0"
|
||||
rt.Product.Revision = "1704989358"
|
||||
rt.Product.Patch = "1"
|
||||
rt.Product.Revision = "1705347666"
|
||||
rt.Product.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)
|
||||
rt.Product.Edition = domain.CommunityEdition
|
||||
rt.Product.Title = "Community"
|
||||
|
|
|
@ -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.") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue