7 lines
199 B
Ruby
7 lines
199 B
Ruby
# rubocop:disable all
|
|
class AddIsAwardToNotes < ActiveRecord::Migration
|
|
def change
|
|
add_column :notes, :is_award, :boolean, default: false, null: false
|
|
add_index :notes, :is_award
|
|
end
|
|
end
|