Sha256: ac6d0e5043294780bb010387b468c3f858e684a1bd5e9804810ae89fd2e32b39

Contents?: true

Size: 301 Bytes

Versions: 54

Compression:

Stored size: 301 Bytes

Contents

class AddTagRepositoryIdIndex < ActiveRecord::Migration
  def up
    add_index :docker_tags, [:tag, :katello_repository_id],
              :name => :katello_docker_tag_repository_id, :unique => true
  end

  def down
    remove_index :docker_tags, :name => :katello_docker_tag_repository_id
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
katello-3.5.2 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.5.1.1 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.5.1 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.5.0.1 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.5.0 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.5.0.rc2 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.5.0.rc1 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.4.5 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.4.4 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.4.2 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.4.1 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.4.0.2 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.4.0.1 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.3.2 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.4.0 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.4.0.rc2 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.4.0.rc1 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.3.1.1 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.3.1 db/migrate/20141031150814_add_tag_repository_id_index.rb
katello-3.3.0.1 db/migrate/20141031150814_add_tag_repository_id_index.rb