Sha256: 02e998bf3ed1ba4a55f12eff45519492aa4600be40551d1c9e2d116c7d143f2f
Contents?: true
Size: 441 Bytes
Versions: 195
Compression:
Stored size: 441 Bytes
Contents
class RenameIndexRepositoryErrata < ActiveRecord::Migration[4.2] def change original_name = 'index_katello_repository_errata_on_erratum_id_and_repository_id' shorter_name = 'index_katello_repository_errata_on_erratum_id_and_repo_id' if index_exists?(:katello_repository_errata, [:erratum_id, :repository_id], :name => original_name) rename_index :katello_repository_errata, original_name, shorter_name end end end
Version data entries
195 entries across 195 versions & 1 rubygems