1
0
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:
Gnanakeethan Balasubramaniam
2017-07-06 20:26:37 +05:30
parent c1ba11f531
commit e888fee4e0
2 changed files with 63 additions and 16 deletions

View File

@ -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())