retrospring/db/migrate/20211231212335_remove_relationship_counters_from_users.rb

9 lines
229 B
Ruby
Raw Normal View History

2022-01-16 18:51:27 +01:00
# frozen_string_literal: true
class RemoveRelationshipCountersFromUsers < ActiveRecord::Migration[5.2]
def change
2022-01-16 18:51:27 +01:00
remove_column :users, :follower_count, :integer
remove_column :users, :friend_count, :integer
end
end