mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
17 lines
326 B
Ruby
17 lines
326 B
Ruby
require 'migration/table_dropper'
|
|
|
|
class DropUnusedAuthTablesAgain < ActiveRecord::Migration[5.2]
|
|
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
|