Sha256: cf281163b1037dab7a4ea0a5febf805e4474e68408c0f33f7aadae2319e492de

Contents?: true

Size: 213 Bytes

Versions: 1

Compression:

Stored size: 213 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iqvoc-4.12.1 db/migrate/20180525135715_fix_note_annotations_index.rb