mastodon/db/migrate/20240322125607_add_followers_and_following_counts_to_account_relationship_severance_events.rb

9 lines
372 B
Ruby

# 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