feat(goctl):Add ignore-columns flag (#2407)
* fix #2074,#2100 * format code * fix #2397 * format code * Support comma spliter * format code
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
|
||||
|
||||
fromDDLWithCacheAndIgnoreColumns:
|
||||
goctl template clean
|
||||
goctl model mysql ddl -src="./sql/*.sql" -dir="./sql/model/ignore_columns/cache" -cache -i 'gmt_create,create_at' -i 'gmt_modified,update_at'
|
||||
|
||||
fromDDLWithCacheAndDb:
|
||||
goctl template clean
|
||||
goctl model mysql ddl -src="./sql/*.sql" -dir="./sql/model/cache_db" -database="1gozero" -cache
|
||||
|
||||
Reference in New Issue
Block a user