mirror of https://github.com/status-im/migrate.git
mssql: use sqlserver driver instead of deprecated mssql driver
This commit is contained in:
parent
ec3ae16f2e
commit
3d4dad5655
|
@ -119,7 +119,7 @@ func (ss *MSSQL) Open(url string) (database.Driver, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
db, err := sql.Open("mssql", migrate.FilterCustomQuery(purl).String())
|
db, err := sql.Open("sqlserver", migrate.FilterCustomQuery(purl).String())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue