0
0
Fork 0

Change AccountRelationshipSeveranceEvent model to store lost followers and following counts separately (#29714)

This commit is contained in:
Claire 2024-03-22 16:44:31 +01:00 committed by GitHub
parent 34f293475e
commit dfa43707eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 30 additions and 8 deletions

View file

@ -0,0 +1,8 @@
# frozen_string_literal: true
class AddFollowersAndFollowingCountsToAccountRelationshipSeveranceEvents < ActiveRecord::Migration[7.1]
def change
add_column :account_relationship_severance_events, :followers_count, :integer, default: 0, null: false
add_column :account_relationship_severance_events, :following_count, :integer, default: 0, null: false
end
end