Added by klaine tear almost 7 years ago
Hi.
How can I load plugin's default data with redmine:load_default_data
or like plugin:default_data.
Thank you for response.
Nest regards.
I think that this is achieved by database migrations. Every plugin that works with its own data have database migrations.
Migration for all the plugins
bundle exec rake redmine:plugins:migrate RAILS_ENV=productionor for one plugin with name 'plugin_name'
bundle exec rake redmine:plugins:migrate NAME=plugin_name RAILS_ENV=production