mirror of https://github.com/status-im/migrate.git
forgot to remove debugging time.Sleep
This commit is contained in:
parent
b545420127
commit
7852745c6b
|
@ -6,7 +6,6 @@ import (
|
|||
_ "github.com/lib/pq"
|
||||
"github.com/mattes/migrate/file"
|
||||
"github.com/mattes/migrate/migrate/direction"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Driver struct {
|
||||
|
@ -81,7 +80,6 @@ func (driver *Driver) Migrate(files file.Files, pipe chan interface{}) {
|
|||
return
|
||||
}
|
||||
pipe <- fmt.Sprintf("Applied %s", f.FileName)
|
||||
time.Sleep(3 * time.Second)
|
||||
|
||||
if err := tx.Commit(); err != nil {
|
||||
pipe <- err
|
||||
|
|
Loading…
Reference in New Issue