gitlab-org--gitlab-foss/db/migrate/20151106000015_add_is_award_to_notes.rb
2015-11-19 01:26:00 +02:00

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