diff --git a/orm/README.md b/orm/README.md index fa7fdca1..6e808d2a 100644 --- a/orm/README.md +++ b/orm/README.md @@ -61,6 +61,9 @@ func init() { // set default database orm.RegisterDataBase("default", "mysql", "root:root@/my_db?charset=utf8", 30) + + // create table + orm.RunSyncdb("default", false, true) } func main() {