mirror of
https://github.com/documize/community.git
synced 2025-07-18 20:59:43 +02:00
Merge pull request #395 from xadammr/patch-1
Add support for SQL Server 2022
This commit is contained in:
commit
576fd5e604
1 changed files with 3 additions and 2 deletions
|
@ -343,11 +343,12 @@ func (p SQLServerProvider) VerfiyVersion(dbVersion string) (bool, string) {
|
|||
|
||||
if strings.HasPrefix(dbVersion, "13.") ||
|
||||
strings.HasPrefix(dbVersion, "14.") ||
|
||||
strings.HasPrefix(dbVersion, "15.") {
|
||||
strings.HasPrefix(dbVersion, "15.") ||
|
||||
strings.HasPrefix(dbVersion, "16.") {
|
||||
return true, ""
|
||||
}
|
||||
|
||||
return false, "Microsoft SQL Server 2016, 2017 or 2019 is required"
|
||||
return false, "Microsoft SQL Server 2016, 2017, 2019 or 2022 is required"
|
||||
}
|
||||
|
||||
// VerfiyCharacterCollation needs to ensure utf8.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue