Drop facebook_user_infos and twitter_user_infos (#6970)

Data was migrated to user_associated_accounts in 208005f and 160d29b
This commit is contained in:
David Taylor 2019-02-05 15:12:39 +00:00 committed by GitHub
parent a3b47c1dd1
commit fc999c04b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
require 'migration/table_dropper'
class DropUnusedAuthTables < ActiveRecord::Migration[5.2]
def change
def up
%i{
facebook_user_infos
twitter_user_infos
}.each do |table|
Migration::TableDropper.execute_drop(table)
end
end
def down
raise ActiveRecord::IrreversibleMigration
end
end
end