Debugging Tool for Hot Topics

This commit is contained in:
Robin Ward
2013-04-02 16:52:51 -04:00
parent 161fdcb364
commit ee76f1926d
16 changed files with 244 additions and 42 deletions

View File

@@ -0,0 +1,9 @@
class AddValuesToHotTopics < ActiveRecord::Migration
def change
add_column :hot_topics, :random_bias, :float
add_column :hot_topics, :random_multiplier, :float
add_column :hot_topics, :days_ago_bias, :float
add_column :hot_topics, :days_ago_multiplier, :float
add_column :hot_topics, :hot_topic_type, :integer
end
end