Project

General

Profile

Actions

Refactor #3752

closed

Move all data addition in DB migrations into a seed script

Added by Dominic Cleal over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Blocks Foreman - Feature #3272: Separate internal admin account from user admin accountsClosedDominic Cleal10/16/2013Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Blocks Feature #3272: Separate internal admin account from user admin accounts added
Actions #2

Updated by Lukas Zapletal over 10 years ago

Requirement from Katello experiences: Make sure the seed script is idempotent.

Actions #4

Updated by Dominic Cleal over 10 years ago

  • Target version set to 1.10.0
  • translation missing: en.field_release set to 2
Actions #5

Updated by Dominic Cleal over 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #6

Updated by Dominic Cleal over 10 years ago

  • Target version changed from 1.10.0 to 1.9.3
Actions #7

Updated by Dominic Cleal over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF