0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 21:57:36 +08:00
discourse/plugins/discourse-microsoft-auth/db/migrate/20211230152430_remove_old_office365_data.rb
2025-07-15 16:38:05 +02:00

10 lines
256 B
Ruby
Vendored

# frozen_string_literal: true
class RemoveOldOffice365Data < ActiveRecord::Migration[6.1]
def up
execute "DELETE FROM oauth2_user_infos WHERE provider = 'microsoft_office365'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end