mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Debugging Tool for Hot Topics
This commit is contained in:
9
db/migrate/20130402210723_add_values_to_hot_topics.rb
Normal file
9
db/migrate/20130402210723_add_values_to_hot_topics.rb
Normal 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
|
||||
Reference in New Issue
Block a user