2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-02-08 10:01:46 -05:00
|
|
|
require "migration/table_dropper"
|
|
|
|
|
|
|
|
class DropUnusedAuthTablesAgain < ActiveRecord::Migration[5.2]
|
2024-11-05 17:27:49 -05:00
|
|
|
DROPPED_TABLES = %i[facebook_user_infos twitter_user_infos]
|
2019-08-08 10:06:27 -04:00
|
|
|
|
|
|
|
def up
|
2019-02-08 10:01:46 -05:00
|
|
|
DROPPED_TABLES.each { |table| Migration::TableDropper.execute_drop(table) }
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
raise ActiveRecord::IrreversibleMigration
|
|
|
|
end
|
|
|
|
end
|