Revision 552760af
Added by Stephen Benjamin almost 6 years ago
db/migrate/20180612165011_remove_content_fields_from_host.rb | ||
---|---|---|
class RemoveContentFieldsFromHost < ActiveRecord::Migration[5.1]
|
||
def change
|
||
# These fields were moved to the content facet
|
||
remove_column :hosts, :content_view_id
|
||
remove_column :hosts, :lifecycle_environment_id
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #23841 - remove columns that were moved to facets
Content view and lifecycle environment columns were moved to the content
facet, and the db columns can be deleted.