mirror of
https://github.com/astaxie/beego.git
synced 2024-11-01 01:20:56 +00:00
Update: missed to call DDLSpec in Down migration
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
This commit is contained in:
parent
d58ad2ee36
commit
fc55c2b57c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user