summaryrefslogtreecommitdiffstats
path: root/db/migrate/20120930112914_add_journals_private_notes.rb
blob: 265d2516cfb26d45606e84fd15d0e1aabbd94a4f (plain)
1
2
3
4
5
6
7
8
9
class AddJournalsPrivateNotes < ActiveRecord::Migration[4.2]
  def up
    add_column :journals, :private_notes, :boolean, :default => false, :null => false
  end

  def down
    remove_column :journals, :private_notes
  end
end