1
0
mirror of https://github.com/beego/bee.git synced 2024-11-21 18:40:54 +00:00

Update: fixing switch statement

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
This commit is contained in:
Gnanakeethan Balasubramaniam 2017-07-13 21:24:53 +05:30
parent ea63bf253e
commit 042a4cf244
No known key found for this signature in database
GPG Key ID: 24924006ABA72F31

View File

@ -212,7 +212,6 @@ func GenerateMigration(mname, upsql, downsql, curpath string) {
switch strings.Title(DDL.String()) {
case "Create":
spec = strings.Replace(DDLSpecCreate, "{{StructName}}", utils.CamelCase(mname)+"_"+today, -1)
break
case "Alter":
spec = strings.Replace(DDLSpecAlter, "{{StructName}}", utils.CamelCase(mname)+"_"+today, -1)
}