Class: AddDefaultToItemDone

Inherits:
Object
  • Object
show all
Defined in:
lib/db/migrate/20161220143613_add_default_to_item_done.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
# File 'lib/db/migrate/20161220143613_add_default_to_item_done.rb', line 2

def change
  change_column :items, :done, :boolean, default: false
end