socialforge/db/migrate/20120930112914_add_journals...

10 lines
223 B
Ruby

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