debian-mirror-gitlab/db/migrate/20151106000015_add_is_award_to_notes.rb

8 lines
204 B
Ruby
Raw Normal View History

# rubocop:disable all
2018-12-23 12:14:25 +05:30
class AddIsAwardToNotes < ActiveRecord::Migration[4.2]
2015-11-26 14:37:03 +05:30
def change
add_column :notes, :is_award, :boolean, default: false, null: false
add_index :notes, :is_award
end
end