From fc55c2b57cc464c2a1e4db2dedcefd65e094f66a Mon Sep 17 00:00:00 2001 From: Gnanakeethan Balasubramaniam Date: Sun, 16 Jul 2017 07:30:53 +0530 Subject: [PATCH] Update: missed to call DDLSpec in Down migration Signed-off-by: Gnanakeethan Balasubramaniam --- migration/migration.go | 1 + 1 file changed, 1 insertion(+) diff --git a/migration/migration.go b/migration/migration.go index e538eff9..c5a9352e 100644 --- a/migration/migration.go +++ b/migration/migration.go @@ -99,6 +99,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"