mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 03:30:53 +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
|
// Down implement in the Inheritance struct for down
|
||||||
func (m *Migration) Down() {
|
func (m *Migration) Down() {
|
||||||
|
m.DDLSpec()
|
||||||
switch m.ModifyType {
|
switch m.ModifyType {
|
||||||
case "alter":
|
case "alter":
|
||||||
m.ModifyType = "reverse"
|
m.ModifyType = "reverse"
|
||||||
|
Loading…
Reference in New Issue
Block a user