class AddSpmStatsFieldsInPageStatsTaxa < ActiveRecord::Migration
  def self.database_model
    return "SpeciesSchemaModel"
  end

  def self.up
    add_column :page_stats_taxa, :data_objects_count_per_category, :text
    add_column :page_stats_taxa, :content_partners_count_per_category, :text
  end

  def self.down
    remove_column :page_stats_taxa, :data_objects_count_per_category
    remove_column :page_stats_taxa, :content_partners_count_per_category
  end
end




Add 2 fields that will store data objects and content partner counts per SPM in page_stats_taxa table.
Add 2 fields that will store data objects and content partner counts per SPM in page_stats_taxa table.


git-svn-id: 9e5305ce09d475b8287d6587bfa7d171216f9abf@2048 78829999-583a-0410-bd01-8a9b849fd409
