Sha256: 75303243f8431a3d01d2c5708b67639dd0030a47ca5473e0ad473fe7c78a14c5

Contents?: true

Size: 588 Bytes

Versions: 24

Compression:

Stored size: 588 Bytes

Contents

class AddLatestVersionToContentViewComponent < ActiveRecord::Migration
  def change
    rename_column :katello_content_view_components, :content_view_id, :composite_content_view_id
    change_column_null :katello_content_view_components, :content_view_version_id, :integer, true
    add_column :katello_content_view_components, :content_view_id, :integer, :null => true
    add_column :katello_content_view_components, :latest, :boolean, :default => false, :null => false
    add_foreign_key :katello_content_view_components, :katello_content_views, :column => :content_view_id
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
katello-3.3.0 db/migrate/20160728005028_add_latest_version_to_content_view_component.rb
katello-3.3.0.rc2 db/migrate/20160728005028_add_latest_version_to_content_view_component.rb
katello-3.3.0.rc1.1 db/migrate/20160728005028_add_latest_version_to_content_view_component.rb
katello-3.3.0.rc1 db/migrate/20160728005028_add_latest_version_to_content_view_component.rb