In a future commit, I'll introduce the logic to handle the caching of the sum. Related to #15240
5 lines
176 B
Ruby
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
|