Fix bug for mssql

This commit is contained in:
Lunny Xiao 2021-01-21 15:05:26 +08:00
parent c442c5a9a8
commit 173646b024
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 2 additions and 0 deletions

View File

@ -220,6 +220,8 @@ type mssql struct {
func (db *mssql) Init(uri *URI) error {
db.quoter = mssqlQuoter
db.defaultChar = "CHAR"
db.defaultVarchar = "VARCHAR"
return db.Base.Init(db, uri)
}