mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 21:57:36 +08:00
10 lines
256 B
Ruby
Vendored
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
|