]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20230816135800_use_microsoft_graph.rb
Merge pull request #4803 from tomhughes/preference-encoding
[rails.git] / db / migrate / 20230816135800_use_microsoft_graph.rb
index e83d3db441ad6706eb9b5b811187c13d02cfa848..6c37a238b9a386f517849408c22d33f7a898ef1a 100644 (file)
@@ -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