Sha256: 764918fa4f5edf7fd953c71f240595ad4858d24ddfe84a68253e3c654422d2c4
Contents?: true
Size: 456 Bytes
Versions: 200
Compression:
Stored size: 456 Bytes
Contents
class RenameIndexRepositoryPuppetModule < ActiveRecord::Migration[4.2] 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
200 entries across 200 versions & 1 rubygems