a guest Mar 26th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- class AddDefaultValueToIsCompleted < ActiveRecord::Migration[5.2]
- def change
- remove_column :todos, :isCompleted
- add_column :todos, :isCompleted, :boolean, default: false
RAW Paste Data