DEV: Drop unused google and instagram auth_info tables
Information was migrated to user_associated_accounts infc7938f7e0
and703c724cf3
This commit is contained in:
parent
dd8fe1a9e7
commit
88dce41be1
|
@ -0,0 +1,20 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'migration/table_dropper'
|
||||
|
||||
class DropUnusedGoogleInstagramAuthTables < ActiveRecord::Migration[6.0]
|
||||
DROPPED_TABLES ||= %i{
|
||||
google_user_infos
|
||||
instagram_user_infos
|
||||
}
|
||||
|
||||
def up
|
||||
DROPPED_TABLES.each do |table|
|
||||
Migration::TableDropper.execute_drop(table)
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue