mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Can set the hotness of a category. For the soon to be implemented "hotness" tab.
This commit is contained in:
5
db/migrate/20130326210101_add_hotness_to_category.rb
Normal file
5
db/migrate/20130326210101_add_hotness_to_category.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddHotnessToCategory < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :categories, :hotness, :float, default: 5.0, null: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user