mirror of
https://github.com/astaxie/beego.git
synced 2025-07-10 02:50:19 +00:00
gofmt and golint
This commit is contained in:
@ -71,6 +71,7 @@ func (m *Migration) CreateTable(tablename, engine, charset string, p ...func())
|
||||
m.ModifyType = "create"
|
||||
}
|
||||
|
||||
// AlterTable set the ModifyType to alter
|
||||
func (m *Migration) AlterTable(tablename string) {
|
||||
m.TableName = tablename
|
||||
m.ModifyType = "alter"
|
||||
|
Reference in New Issue
Block a user