Sha256: 8a7e00693b63242fa18b757140f8c7ffd79b354926fce282746053ee52485655

Contents?: true

Size: 218 Bytes

Versions: 4

Compression:

Stored size: 218 Bytes

Contents

class FixNoteAnnotationsIndex < ActiveRecord::Migration[4.2]
  def change
    remove_index :note_annotations, column: :value if index_exists? :note_annotations, :value
    add_index :note_annotations, :value
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iqvoc-4.14.5 db/migrate/20180525135715_fix_note_annotations_index.rb
iqvoc-4.14.4 db/migrate/20180525135715_fix_note_annotations_index.rb
iqvoc-4.13.2 db/migrate/20180525135715_fix_note_annotations_index.rb
iqvoc-4.13.0 db/migrate/20180525135715_fix_note_annotations_index.rb