Newer
Older
dmpopidor / db / migrate / 20180807120926_add_default_value_to_archived_on_notes.rb
class AddDefaultValueToArchivedOnNotes < ActiveRecord::Migration
  def up
    change_column :notes, :archived, :boolean, default: false, null: false
  end

  def down
    change_column :notes, :archived, :boolean, default: nil, null: true
  end
end