Sha256: f1dbe7f00c1c9c13530cc646c2466d3cb4194852b69a213f69d4ec94e659df0f
Contents?: true
Size: 436 Bytes
Versions: 44
Compression:
Stored size: 436 Bytes
Contents
class RenameIndexRepositoryErrata < ActiveRecord::Migration 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
44 entries across 44 versions & 1 rubygems