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

  def down
    remove_column :journals, :private_notes
  end
end