Retrospring/db/migrate/20211231212335_remove_relat...

7 lines
178 B
Ruby
Raw Normal View History

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