7 lines
177 B
Ruby
7 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
|