Sha256: be493174cd2f2934169cb6a3ffdd86684fff428e4423e71fe5d910609adbce5a

Contents?: true

Size: 710 Bytes

Versions: 10

Compression:

Stored size: 710 Bytes

Contents

class CreateContentViewPuppetEnvironments < ActiveRecord::Migration
  def change
    create_table :katello_content_view_puppet_environments do |t|
      t.references :content_view_version
      t.references :environment
      t.string :name
      t.string :pulp_id, :null => false
      t.timestamps
    end

    add_index :katello_content_view_puppet_environments, [:content_view_version_id],
              :name => :index_cvpe_on_content_view_version_id
    add_index :katello_content_view_puppet_environments, [:environment_id],
              :name => :index_cvpe_on_environment_id
    add_index :katello_content_view_puppet_environments, [:pulp_id],
              :name => :index_cvpe_on_pulp_id
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-2.4.5 db/migrate/20140306132108_create_content_view_puppet_environments.rb
katello-2.4.4 db/migrate/20140306132108_create_content_view_puppet_environments.rb
katello-2.4.3 db/migrate/20140306132108_create_content_view_puppet_environments.rb
katello-2.4.2 db/migrate/20140306132108_create_content_view_puppet_environments.rb
katello-2.4.1 db/migrate/20140306132108_create_content_view_puppet_environments.rb
katello-2.4.0 db/migrate/20140306132108_create_content_view_puppet_environments.rb
katello-2.4.0.rc3 db/migrate/20140306132108_create_content_view_puppet_environments.rb
katello-2.4.0.rc2 db/migrate/20140306132108_create_content_view_puppet_environments.rb
katello-2.4.0.rc1 db/migrate/20140306132108_create_content_view_puppet_environments.rb
katello-2.2.2 db/migrate/20140306132108_create_content_view_puppet_environments.rb