DEV: Delete tmp table from migration for invites (#19431)

Follow up a414520742
This commit is contained in:
Martin Brennan 2022-12-13 10:17:25 +10:00 committed by GitHub
parent 0abd772098
commit 4001e6f174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# frozen_string_literal: true
class DropTopicAllowedUsersBackupNov2022 < ActiveRecord::Migration[7.0]
def up
# Follow-up to RemoveInvalidTopicAllowedUsersFromInvites
DB.exec("DROP TABLE IF EXISTS topic_allowed_users_backup_nov_2022")
end
def down
raise ActiveRecord::IrreversibleMigration
end
end