mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
Drop facebook_user_infos and twitter_user_infos (#6970)
Data was migrated to user_associated_accounts in208005f
and160d29b
This commit is contained in:
parent
a3b47c1dd1
commit
fc999c04b3
18
db/post_migrate/20190205104116_drop_unused_auth_tables.rb
Normal file
18
db/post_migrate/20190205104116_drop_unused_auth_tables.rb
Normal 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
|
Loading…
Reference in New Issue
Block a user