Commit aeab12db authored by chenweijian's avatar chenweijian

mysql

parent db2fb43c
......@@ -58,3 +58,7 @@ func init() {
}
}
}
func HasTable(tableName string) bool {
return Db.Migrator().HasTable(tableName)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment