feat: add support for sqlserver (#81)

* feat: add support for sqlserver

* fix: update gorm dependencies

* fix: update constraint
This commit is contained in:
Lakhan Samani
2021-12-17 21:50:57 +05:30
committed by GitHub
parent f110255310
commit c3f4cd3bf9
5 changed files with 45 additions and 7 deletions

View File

@@ -6,6 +6,7 @@ const (
Postgres DbType = iota
Sqlite
Mysql
SQLServer
Arangodb
)
@@ -14,6 +15,7 @@ func (d DbType) String() string {
"postgres",
"sqlite",
"mysql",
"sqlserver",
"arangodb",
}[d]
}