Refactor #3752
closed
Move all data addition in DB migrations into a seed script
Added by Dominic Cleal about 11 years ago.
Updated over 6 years ago.
Description
Our DB migrations perform a number of database setup tasks, from loading default templates through to creating the default user.
These can be difficult to maintain as the codebase evolves, plus makes it harder for us to update the default data provided in Foreman so moving to a separate seed script should make life easier.
- Blocks Feature #3272: Separate internal admin account from user admin accounts added
Requirement from Katello experiences: Make sure the seed script is idempotent.
- Target version set to 1.10.0
- Translation missing: en.field_release set to 2
- Status changed from Assigned to Ready For Testing
- Target version changed from 1.10.0 to 1.9.3
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF