Project

General

Profile

Actions

Bug #3669

closed

Migration: Unable to migrate db, if Katello engine is included

Added by Brad Buckingham about 11 years ago. Updated over 6 years ago.

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

Description

The Katello engine extends the Foreman User. As a result, if the Katello engine is included, it is not currently possible to successfully run 'rake db:migrate' to run all Foreman+Katello migrations.

The primary issue exists with db/migrate/20100628123400_add_internal_auth.rb which attempts to create an initial User, but finds conflicts as the business logic is reliant on schema is not available until a later migration.

This issue is to minimize the definition of User that is pulled in to the model to avoid this and possible future issues.

Actions

Also available in: Atom PDF