To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / db / migrate / 20120930112914_add_journals_private_notes.rb @ 1298:4f746d8966dd

History | View | Annotate | Download (223 Bytes)

1
class AddJournalsPrivateNotes < ActiveRecord::Migration
2
  def up
3
    add_column :journals, :private_notes, :boolean, :default => false, :null => false
4
  end
5

    
6
  def down
7
    remove_column :journals, :private_notes
8
  end
9
end