mastodon/db/post_migrate/20240322130318_remove_relationships_count_from_account_relationship_severance_events.rb

8 lines
287 B
Ruby

# 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