out sql to readme

This commit is contained in:
谢小军
2019-11-22 13:41:30 +08:00
parent 326b6b419a
commit 7f2972f41b
2 changed files with 2 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
out_dir : "." # out dir
singular_table : false # Table name plural (big Camel-Case):gorm.SingularTable
simple : false #simple output
is_out_sql : false # Whether to output sql
is_json_tag : true # Whether to mark JSON or not
is_foreign_key : true # Whether to mark foreign key or not
[mysql_info]

View File

@@ -15,6 +15,7 @@
out_dir : "." # 输出目录
singular_table : false # 表名复数,是否大驼峰构建 参考:gorm.SingularTable
simple : false #简单输出
is_out_sql : false # 是否输出 sql 原信息
is_json_tag : false #是否打json标记
is_foreign_key : true #是否导出外键关联
mysql_info :