Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 db/migrate named 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

share|improve this question

closed as off topic by slhck Jul 31 '12 at 13:44

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Cross-posting is not allowed, sorry. If you didn't get an answer, you can edit your question on Stack Overflow, adding more information. Someone might see your question then. – slhck Jul 31 '12 at 13:44
@slhck can u please motivate new comers instead of closing their questions...if there are no newcomers then top voted users can not earn votes and can not be enthusiasts for giving answer...... – Dipendra Singh Jul 31 '12 at 14:04
I'm sorry – let me explain again: You should not cross-post questions. We don't deal with programming questions here on Super User. Just because you didn't get an answer on Stack Overflow does not mean you can duplicate the same question on another site. This has nothing to do with you being a new user or anything else – it's simply a matter of fact that you already asked this question on Stack Overflow and it shouldn't be posted on two sites at the same time. Thanks for your consideration. – slhck Jul 31 '12 at 14:08

Browse other questions tagged .