mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Change AccountRelationshipSeveranceEvent model to store lost followers and following counts separately (#29714)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class RemoveRelationshipsCountFromAccountRelationshipSeveranceEvents < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
safety_assured { remove_column :account_relationship_severance_events, :relationships_count, :integer, default: 0, null: false }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user