comment typo
This commit is contained in:
parent
171cad2a98
commit
47d8306c0f
@ -131,16 +131,16 @@ func (this *Applier) ValidateOrDropExistingTables() error {
|
||||
if this.migrationContext.Resurrect {
|
||||
ghostTableExists := this.tableExists(this.migrationContext.GetGhostTableName())
|
||||
if !ghostTableExists {
|
||||
return fmt.Errorf("--ressurect requested, but ghost table %s doesn't exist. Panicking.", this.migrationContext.GetGhostTableName())
|
||||
return fmt.Errorf("--resurrect requested, but ghost table %s doesn't exist. Panicking.", this.migrationContext.GetGhostTableName())
|
||||
}
|
||||
changelogTableExists := this.tableExists(this.migrationContext.GetChangelogTableName())
|
||||
if !changelogTableExists {
|
||||
return fmt.Errorf("--ressurect requested, but changelog table %s doesn't exist. Panicking.", this.migrationContext.GetChangelogTableName())
|
||||
return fmt.Errorf("--resurrect requested, but changelog table %s doesn't exist. Panicking.", this.migrationContext.GetChangelogTableName())
|
||||
}
|
||||
return nil
|
||||
}
|
||||
// Normal mode (no resurrection)
|
||||
|
||||
// Normal mode (no resurrection)
|
||||
if this.migrationContext.InitiallyDropGhostTable {
|
||||
if err := this.DropGhostTable(); err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user