2022-01-16 09:51:27 -08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-12-31 13:26:47 -08:00
|
|
|
class RemoveRelationshipCountersFromUsers < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
2022-01-16 09:51:27 -08:00
|
|
|
remove_column :users, :follower_count, :integer
|
|
|
|
remove_column :users, :friend_count, :integer
|
2021-12-31 13:26:47 -08:00
|
|
|
end
|
|
|
|
end
|