BigW Consortium Gitlab

20151106000015_add_is_award_to_notes.rb 199 Bytes
Newer Older
1
# rubocop:disable all
Valery Sizov committed
2 3
class AddIsAwardToNotes < ActiveRecord::Migration
  def change
Valery Sizov committed
4 5
    add_column :notes, :is_award, :boolean, default: false, null: false
    add_index :notes, :is_award
Valery Sizov committed
6 7
  end
end