X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef6803416be6a3be43162f18ed5128cebc4c6033..eece15be74cf66b0c47be5b4f00e622184ea680d:/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