debian-mirror-gitlab/db/migrate/20151106000015_add_is_award_to_notes.rb
2016-06-16 23:09:34 +05:30

7 lines
199 B
Ruby

# rubocop:disable all
class AddIsAwardToNotes < ActiveRecord::Migration
def change
add_column :notes, :is_award, :boolean, default: false, null: false
add_index :notes, :is_award
end
end