简体   繁体   中英

rails generate model(s) through configuration file

There are possibilities to generate models (and migration) through a configuration file? I have so much table and i want create them (all the time) with a simple step.

I'm holding all my migration commands in a bash shell file. This allows me to "recycle" certain parts, and prevents me from making typo's... Once a command has been run, I outcomment it, but keep it present in the file

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM