Actions
Bug #17361
closed`rake db:drop db:create db:migrate` doesn't migrate plugins
Description
The core issue is in rails, where the migrations_paths get initialized before the rails environment,
when calling db:create, and it's not getting update later
https://github.com/rails/rails/blob/v5.0.0.1/activerecord/lib/active_record/railties/databases.rake#L16
Steps to reproduce
1. install a plugin
2. rake db:drop db:create db:migrate
3. notice the plugin migrations are not being run
Updated by Ivan Necas about 8 years ago
- Blocks Feature #15779: Make report, puppet classes and environments importing asynchronous using foreman-tasks added
Updated by The Foreman Bot about 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/215 added
Updated by Ivan Necas about 8 years ago
- Project changed from foreman-tasks to Foreman
- Subject changed from `rake db:drop db:create db:migrate` doesn't migrate tasks tables to `rake db:drop db:create db:migrate` doesn't migrate plugins
- Description updated (diff)
- Category set to Plugin integration
- Status changed from Ready For Testing to Assigned
- Pull request deleted (
https://github.com/theforeman/foreman-tasks/pull/215)
Updated by The Foreman Bot about 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4027 added
Updated by Marek Hulán about 8 years ago
- Translation missing: en.field_release set to 189
Updated by Ivan Necas about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset afd5e5122282a65e96e58e3532d3d683bdd6305b.
Actions