20110820092133_add_private_to_journals.rb

migration which you need to run - Dmitry Polovka, 2011-08-20 12:43

Download (204 Bytes)

 
1
class AddPrivateToJournals < ActiveRecord::Migration
2
  def self.up
3
     add_column :journals, :private, :boolean, :default => false
4
  end
5

    
6
  def self.down
7
     remove_column :journals, :private
8
  end
9
end