From 3d4dad5655755fd6da465019a7d811166bc78c2c Mon Sep 17 00:00:00 2001 From: Thomas Lokshall Date: Wed, 22 May 2019 14:10:37 +0200 Subject: [PATCH] mssql: use sqlserver driver instead of deprecated mssql driver --- database/mssql/mssql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/mssql/mssql.go b/database/mssql/mssql.go index 0065dd4..1a6f139 100644 --- a/database/mssql/mssql.go +++ b/database/mssql/mssql.go @@ -119,7 +119,7 @@ func (ss *MSSQL) Open(url string) (database.Driver, error) { return nil, err } - db, err := sql.Open("mssql", migrate.FilterCustomQuery(purl).String()) + db, err := sql.Open("sqlserver", migrate.FilterCustomQuery(purl).String()) if err != nil { return nil, err }