diff --git a/migration/migration.go b/migration/migration.go index 0a140b24..51053714 100644 --- a/migration/migration.go +++ b/migration/migration.go @@ -94,7 +94,7 @@ func (m *Migration) Up() { // Down implement in the Inheritance struct for down func (m *Migration) Down() { - m.DDLSpec() + switch m.ModifyType { case "alter": m.ModifyType = "reverse"