Added by Mia S over 11 years ago
How can I change my table which I created inside a plugin.. Like add new column or change datatype ?
I could not find the syntax for the same..
Solution:
To change plugin model
1. rails generate migration change_data_type_for_tablename_columnname
2. make changes in the generated migration
3. rake redmine:plugins:migrate
4. rake db:migrate
5. changes will come in redmine/db/schema