mirror of
https://github.com/astaxie/beego.git
synced 2025-07-10 03:10:18 +00:00
Update: Foreign Key & Comments
Summary: Foreign Key functions are now available Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
This commit is contained in:
@ -89,6 +89,7 @@ func (m *Migration) Down() {
|
||||
|
||||
}
|
||||
|
||||
//Migrate adds the SQL to the execution list
|
||||
func (m *Migration) Migrate(migrationType string) {
|
||||
m.ModifyType = migrationType
|
||||
m.sqls = append(m.sqls, m.GetSQL())
|
||||
|
Reference in New Issue
Block a user