ref: master
db/migrate/20111211233957_add_comment_count_to_action_tracker.rb
1 2 3 4 5 6 7 8 9
class AddCommentCountToActionTracker < ActiveRecord::Migration def self.up add_column :action_tracker, :comments_count, :integer, :default => 0 end def self.down remove_column :action_tracker, :comments_count, :integer end end