Sha256: e6497098499a9bd0d5db91699184538f610af63bc37c4ff9bfe773a3731ff8e5
Contents?: true
Size: 688 Bytes
Versions: 23
Compression:
Stored size: 688 Bytes
Contents
class RenameAutomaticExploitationIndex < ActiveRecord::Migration[4.2] def up if index_name_exists? :automatic_exploitation_matches, :index_automatic_exploitation_matches_on_ref_id rename_index :automatic_exploitation_matches, :index_automatic_exploitation_matches_on_ref_id, :index_automatic_exploitation_matches_on_module_detail_id end end def down if index_name_exists? :automatic_exploitation_matches, :index_automatic_exploitation_matches_on_module_detail_id rename_index :automatic_exploitation_matches, :index_automatic_exploitation_matches_on_module_detail_id, :index_automatic_exploitation_matches_on_ref_id end end end
Version data entries
23 entries across 23 versions & 2 rubygems