We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67a598b commit 1c61b86Copy full SHA for 1c61b86
migrate.go
@@ -158,7 +158,7 @@ func NewFromOptions(o Options) (*Migrate, error) {
158
}
159
m.databaseDrv = databaseDrv
160
m.databaseDrv.AddTriggers(o.DatabaseTriggers)
161
- } else if o.DatabaseName != "" && o.DatabaseInstance != nil {
+ } else if o.DatabaseInstance != nil {
162
m.databaseName = o.DatabaseName
163
m.databaseDrv = o.DatabaseInstance
164
0 commit comments