Bug #5749
closedrake db:migrate of UpdateProductsAddOrganization fails
Description
$ rake db:migrate
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
UpdateProductsAddOrganization: migrating ================================
-- add_column(:katello_products, :organization_id, :integer, {:null=>true})
-> 0.1134s
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
The single-table inheritance mechanism failed to locate the subclass: 'Katello::MarketingProduct'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Katello::Product.inheritance_column to use another column for that information./usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activerecord-3.2.18/lib/active_record/inheritance.rb:143:in `rescue in find_sti_class'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activerecord-3.2.18/lib/active_record/inheritance.rb:136:in `find_sti_class'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activerecord-3.2.18/lib/active_record/inheritance.rb:62:in `instantiate'
Updated by Thomas McKay over 10 years ago
- Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1098322
Updated by Eric Helms over 10 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset katello|commit:1c65401bc0ddba3489e8f1501cd9435d3ea5d634.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13