mirror of https://github.com/status-im/migrate.git
Fixed a couple of typos
This commit is contained in:
parent
2570d5866d
commit
81c0a17f20
|
@ -61,7 +61,7 @@ type Migrate struct {
|
|||
|
||||
// GracefulStop accepts `true` and will stop executing migrations
|
||||
// as soon as possible at a safe break point, so that the database
|
||||
// is not corrpupted.
|
||||
// is not corrupted.
|
||||
GracefulStop chan bool
|
||||
isGracefulStop bool
|
||||
|
||||
|
@ -300,7 +300,7 @@ func (m *Migrate) Down() error {
|
|||
return m.unlockErr(m.runMigrations(ret))
|
||||
}
|
||||
|
||||
// Drop deletes everyting in the database.
|
||||
// Drop deletes everything in the database.
|
||||
func (m *Migrate) Drop() error {
|
||||
if err := m.lock(); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue