Skip to content

Commit 1c61b86

Browse files
committed
fix
1 parent 67a598b commit 1c61b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func NewFromOptions(o Options) (*Migrate, error) {
158158
}
159159
m.databaseDrv = databaseDrv
160160
m.databaseDrv.AddTriggers(o.DatabaseTriggers)
161-
} else if o.DatabaseName != "" && o.DatabaseInstance != nil {
161+
} else if o.DatabaseInstance != nil {
162162
m.databaseName = o.DatabaseName
163163
m.databaseDrv = o.DatabaseInstance
164164
}

0 commit comments

Comments
 (0)