mirror of https://github.com/pressly/goose.git
note for later
parent
ab33fd0625
commit
1232c87d8e
|
@ -41,6 +41,8 @@ func collectPendingMigrations(dirpath string, current int) []string {
|
|||
|
||||
var pendingScripts []string
|
||||
|
||||
// XXX: would be much better to query the DB for applied versions.
|
||||
|
||||
filepath.Walk(dirpath, func(name string, info os.FileInfo, err error) error {
|
||||
|
||||
if v, e := numericComponent(name); e == nil {
|
||||
|
|
Loading…
Reference in New Issue