Class: AddDefaultToItemDone
- Inherits:
-
Object
- Object
- AddDefaultToItemDone
- Defined in:
- lib/db/migrate/20161220143613_add_default_to_item_done.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
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 |