migration for adding hot_score
This commit is contained in:
5
db/migrate/20150903171309_add_hot_score_to_debates.rb
Normal file
5
db/migrate/20150903171309_add_hot_score_to_debates.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddHotScoreToDebates < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :debates, :hot_score, :bigint, default: 0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user