aboutsummaryrefslogtreecommitdiffstats
path: root/models/db/engine.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/db/engine.go')
-rwxr-xr-xmodels/db/engine.go10
1 files changed, 3 insertions, 7 deletions
diff --git a/models/db/engine.go b/models/db/engine.go
index e392008020..b97e954cc3 100755
--- a/models/db/engine.go
+++ b/models/db/engine.go
@@ -16,17 +16,13 @@ import (
"code.gitea.io/gitea/modules/setting"
- // Needed for the MySQL driver
- _ "github.com/go-sql-driver/mysql"
"xorm.io/xorm"
"xorm.io/xorm/names"
"xorm.io/xorm/schemas"
- // Needed for the Postgresql driver
- _ "github.com/lib/pq"
-
- // Needed for the MSSQL driver
- _ "github.com/denisenkom/go-mssqldb"
+ _ "github.com/denisenkom/go-mssqldb" // Needed for the MSSQL driver
+ _ "github.com/go-sql-driver/mysql" // Needed for the MySQL driver
+ _ "github.com/lib/pq" // Needed for the Postgresql driver
)
var (