Sha256: c4816cc2a72a36ad126c73ea94bb97e451722ca1347878f993486d0406a14489

Contents?: true

Size: 829 Bytes

Versions: 54

Compression:

Stored size: 829 Bytes

Contents

class TrackVersionComponents < ActiveRecord::Migration
  def change
    create_table "katello_content_view_version_components" do |t|
      t.integer :component_version_id, :null => false
      t.integer :composite_version_id, :null => false
      t.timestamps
    end

    add_index :katello_content_view_version_components, [:component_version_id, :composite_version_id],
              :unique => true, :name => :katello_cvv_components_cid_cid_unq
    add_foreign_key "katello_content_view_version_components", "katello_content_view_versions",
      :name => "katello_cvv_components_component_fk", :column => "component_version_id"

    add_foreign_key "katello_content_view_version_components", "katello_content_view_versions",
      :name => "katello_cvv_components_composite_fk", :column => "composite_version_id"
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
katello-3.3.0 db/migrate/20141215213720_track_version_components.rb
katello-3.3.0.rc2 db/migrate/20141215213720_track_version_components.rb
katello-3.3.0.rc1.1 db/migrate/20141215213720_track_version_components.rb
katello-3.3.0.rc1 db/migrate/20141215213720_track_version_components.rb
katello-3.2.1.1 db/migrate/20141215213720_track_version_components.rb
katello-3.2.1 db/migrate/20141215213720_track_version_components.rb
katello-3.2.0 db/migrate/20141215213720_track_version_components.rb
katello-3.2.0.rc3 db/migrate/20141215213720_track_version_components.rb
katello-3.2.0.rc2 db/migrate/20141215213720_track_version_components.rb
katello-3.2.0.rc1.1 db/migrate/20141215213720_track_version_components.rb
katello-3.2.0.rc1 db/migrate/20141215213720_track_version_components.rb
katello-3.1.0.1 db/migrate/20141215213720_track_version_components.rb
katello-3.1.0 db/migrate/20141215213720_track_version_components.rb
katello-3.1.0.rc2.1 db/migrate/20141215213720_track_version_components.rb
katello-3.0.2 db/migrate/20141215213720_track_version_components.rb
katello-2.4.5 db/migrate/20141215213720_track_version_components.rb
katello-3.1.0.rc1 db/migrate/20141215213720_track_version_components.rb
katello-3.0.1 db/migrate/20141215213720_track_version_components.rb
katello-2.4.4 db/migrate/20141215213720_track_version_components.rb
katello-3.0.0 db/migrate/20141215213720_track_version_components.rb