Use sqlsvr 5.11.1 on PHP 8

This commit is contained in:
Graham Campbell 2023-09-09 00:45:36 +01:00 committed by GitHub
parent 321f8d7d9a
commit a9a661ccd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,10 @@
get_sqlsrv_version() {
if [[ "${version:?}" =~ 7.[0-3] ]]; then
echo '5.9.0'
else
elif [[ "${version:?}" =~ 7.4 ]]; then
echo '5.10.1'
else
echo '5.11.1'
fi
}