debian-mirror-gitlab/db/migrate/20151106000015_add_is_award_to_notes.rb
2015-11-26 14:37:03 +05:30

6 lines
177 B
Ruby

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