Skip to content

Commit

Permalink
mssql: use sqlserver driver instead of deprecated mssql driver
Browse files Browse the repository at this point in the history
  • Loading branch information
zhevron committed May 22, 2019
1 parent ec3ae16 commit 3d4dad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/mssql/mssql.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3d4dad5

Please sign in to comment.