Optimize model naming (#910)
* add unit test * fix #907 * format code * format code * format code Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
This commit is contained in:
@@ -5,6 +5,10 @@ fromDDLWithCache:
|
||||
goctl template clean
|
||||
goctl model mysql ddl -src="./sql/*.sql" -dir="./sql/model/cache" -cache
|
||||
|
||||
fromDDLWithCacheAndDb:
|
||||
goctl template clean
|
||||
goctl model mysql ddl -src="./sql/*.sql" -dir="./sql/model/cache_db" -database="1gozero" -cache
|
||||
|
||||
fromDDLWithoutCache:
|
||||
goctl template clean;
|
||||
goctl model mysql ddl -src="./sql/*.sql" -dir="./sql/model/nocache"
|
||||
|
||||
Reference in New Issue
Block a user