Add 'sqlserver' to dialects as an alias of mssql (#510)

pull/512/head v3.11.0
Ffaen 2023-05-02 15:37:16 +01:00 committed by GitHub
parent 4eee07f48a
commit ba6e5fb6f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func SetDialect(s string) error {
d = dialect.Mysql
case "sqlite3", "sqlite":
d = dialect.Sqlite3
case "mssql", "azuresql":
case "mssql", "azuresql", "sqlserver":
d = dialect.Sqlserver
case "redshift":
d = dialect.Redshift