DEV: Drop github_user_infos table (#11181)

Follow-up to cf21de0e7a
This commit is contained in:
David Taylor 2020-11-10 11:33:27 +00:00 committed by GitHub
parent 3a5080b469
commit e8452a55a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,17 @@
# frozen_string_literal: true
require 'migration/table_dropper'
class DropGithubUserInfos < ActiveRecord::Migration[6.0]
DROPPED_TABLES ||= %i{ github_user_infos }
def up
DROPPED_TABLES.each do |table|
Migration::TableDropper.execute_drop(table)
end
end
def down
raise ActiveRecord::IrreversibleMigration
end
end