gitlab-org--gitlab-foss/db/migrate/20151106000015_add_is_award_to_notes.rb

7 lines
177 B
Ruby
Raw Normal View History

2015-11-11 08:12:51 -05:00
class AddIsAwardToNotes < ActiveRecord::Migration
def change
2015-11-18 17:59:07 -05:00
add_column :notes, :is_award, :boolean, default: false, null: false
add_index :notes, :is_award
2015-11-11 08:12:51 -05:00
end
end