bigdir/db/migrate/20120930112914_add_journals...

10 lines
223 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
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