Reputation: 1404
I think the title is very clear about what I need. The structure of the engine is not like a Rails application. I need to know what lib I require to use the command:
rails g migration ...
Inside folder of my personal engine
Upvotes: 1
Views: 1402
Reputation: 2450
I would simply generate the migration within your rails directory and move it to the engine. This will generate the time-stamp and class, and it doesn't need to stay in the /db/migrate folder of your rails directory.
Upvotes: 1