debian-mirror-gitlab/db/migrate/20151106000015_add_is_award_to_notes.rb
2019-02-15 15:39:39 +05:30

7 lines
204 B
Ruby

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