diff --git a/db/post_migrate/20221212234948_drop_topic_allowed_users_backup_nov_2022.rb b/db/post_migrate/20221212234948_drop_topic_allowed_users_backup_nov_2022.rb new file mode 100644 index 00000000000..ce414c96ea2 --- /dev/null +++ b/db/post_migrate/20221212234948_drop_topic_allowed_users_backup_nov_2022.rb @@ -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