diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20120930112914_add_journals_private_notes.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120930112914_add_journals_private_notes.rb b/db/migrate/20120930112914_add_journals_private_notes.rb new file mode 100644 index 000000000..41eb0e9ef --- /dev/null +++ b/db/migrate/20120930112914_add_journals_private_notes.rb @@ -0,0 +1,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 |