adds comments counte cache column to debate
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddCommentsCountToDebate < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :debates, :comments_count, :integer, default: 0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user