Sha256: 7c026203e86b66bd70d3cd795e66bb34c3cb8114af7f68cfe7bb666d7bb4864d

Contents?: true

Size: 820 Bytes

Versions: 193

Compression:

Stored size: 820 Bytes

Contents

class CreateContentViewPuppetModules < ActiveRecord::Migration[4.2]
  def change
    create_table :katello_content_view_puppet_modules do |t|
      t.references :content_view
      t.string :name, :limit => 255
      t.string :author, :limit => 255
      t.string :uuid, :limit => 255

      t.timestamps
    end

    add_index :katello_content_view_puppet_modules, :content_view_id
    add_index :katello_content_view_puppet_modules, [:name, :content_view_id], :unique => true, :name => :katello_cv_puppet_modules_name
    add_index :katello_content_view_puppet_modules, [:name, :author, :content_view_id], :unique => true, :name => :katello_cv_puppet_modules_name_author
    add_index :katello_content_view_puppet_modules, [:uuid, :content_view_id], :unique => true, :name => :katello_cv_puppet_modules_uuid
  end
end

Version data entries

193 entries across 193 versions & 1 rubygems

Version Path
katello-4.0.0.rc3 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.18.2.1 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.18.2 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.17.3 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-4.0.0.rc2 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.18.1.1 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.17.2 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-4.0.0.rc1 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.18.1 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.18.0 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.17.1 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.16.2 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.18.0.rc2.1 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.18.0.rc2 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.17.0 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.18.0.rc1 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.17.0.rc2.2 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.17.0.rc2.1 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.16.1.2 db/migrate/20140206200439_create_content_view_puppet_modules.rb
katello-3.16.1.1 db/migrate/20140206200439_create_content_view_puppet_modules.rb