I want to add an attribute to a model I've created within a Refinery CMS engine. I know I could do the following:
rails generate migration AddPartNumberToProducts part_number:string
db/migrate
to vendor/extensions/products/db/migrate
But is there a command to generate the migration into the correct folder in the first place?
Thanks!
The method I have outlined above is correct, according to @parndt (the lead developer of the Refinery project).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With