mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 08:01:01 +08:00
fc999c04b3
Data was migrated to user_associated_accounts in208005f
and160d29b
19 lines
356 B
Ruby
19 lines
356 B
Ruby
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
|