I'm a newbie in ruby on rails and creating a redmine plugin. I created a model
Allissue without using any column. Now I wanted to add a column
project_name with the help of migration
./script/generate migration AddRoleToAllissue project_name:string.
But it places migration in folder
20120722192815_add_role_to_allissue.rb instead of plugin migrate folder. I followed stack-overflow question and move migrated file to plugin folder
mv ./db/migrate/20120722192815_add_role_to_allissue.rb ./vendor/plugins/redmine_allissues/db/migrate/002_add_role_to_allissue.rb.
I just wanted to know alternative for plugin migration in which no need of moving migrated file to plugin folder. I'm not sure but there may be a command for plugin migration. I posted same question on Stack overflow but didn't get the answer. Thanks