Update: missed to call DDLSpec in Down migration

Signed-off-by: 's avatarGnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
parent d58ad2ee
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment