Sha256: 2ef40542143aa8f8abd064639873e0649770cd483112aafac2eee2bf7312c09e
Contents?: true
Size: 451 Bytes
Versions: 43
Compression:
Stored size: 451 Bytes
Contents
class RenameIndexRepositoryPuppetModule < ActiveRecord::Migration def change original_name = 'index_katello_repository_puppet_module_on_module_id_and_repo_id' shorter_name = 'index_katello_repo_puppet_module_on_module_id_and_repo_id' if index_exists?(:katello_repository_puppet_modules, [:module_id, :repo_id], :name => original_name) rename_index :katello_repository_puppet_modules, original_name, shorter_name end end end
Version data entries
43 entries across 43 versions & 1 rubygems