Project

General

Profile

Feature #1554 » 20110820092133_add_private_to_journals.rb

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

 
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
(2-2/8)