retrospring/db/migrate/20211231212335_remove_relationship_counters_from_users.rb
2022-01-23 16:48:53 +01:00

8 lines
229 B
Ruby

# frozen_string_literal: true
class RemoveRelationshipCountersFromUsers < ActiveRecord::Migration[5.2]
def change
remove_column :users, :follower_count, :integer
remove_column :users, :friend_count, :integer
end
end