X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef6803416be6a3be43162f18ed5128cebc4c6033..e7d82be15e6dea23625a1c503a56acde09188bad:/db/migrate/20230816135800_use_microsoft_graph.rb?ds=sidebyside diff --git a/db/migrate/20230816135800_use_microsoft_graph.rb b/db/migrate/20230816135800_use_microsoft_graph.rb index e83d3db44..6c37a238b 100644 --- a/db/migrate/20230816135800_use_microsoft_graph.rb +++ b/db/migrate/20230816135800_use_microsoft_graph.rb @@ -1,9 +1,9 @@ class UseMicrosoftGraph < ActiveRecord::Migration[7.0] def self.up - User.where(:auth_provider => 'windowslive').update_all(:auth_provider => 'microsoft_graph') + User.where(:auth_provider => "windowslive").update_all(:auth_provider => "microsoft") end def self.down - User.where(:auth_provider => 'microsoft_graph').update_all(:auth_provider => 'windowslive') + User.where(:auth_provider => "microsoft").update_all(:auth_provider => "windowslive") end end