docbrown/db/migrate/20211104161101_add_privileged_users_reaction_sum.rb
Jeremy Friesen 760f47f592
Adding caching column for reaction sums (#15283)
In a future commit, I'll introduce the logic to handle the caching of
the sum.

Related to  #15240
2021-11-05 12:34:35 -04:00

5 lines
176 B
Ruby

class AddPrivilegedUsersReactionSum < ActiveRecord::Migration[6.1]
def change
add_column :articles, :privileged_users_reaction_points_sum, :integer, default: 0
end
end