X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef6803416be6a3be43162f18ed5128cebc4c6033..35a98e045e85455fa351cf98cc185922504b52d4:/db/migrate/20230816135800_use_microsoft_graph.rb 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