X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef6803416be6a3be43162f18ed5128cebc4c6033..0c7c950149888777e186e2eb7525b37f340bc6f0:/db/migrate/20230816135800_use_microsoft_graph.rb?ds=inline 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