Retrospring/db/migrate/20211231212335_remove_relat...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
229 B
Ruby
Raw Normal View History

2022-01-16 09:51:27 -08:00
# frozen_string_literal: true
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
end
end