]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20230816135800_use_microsoft_graph.rb
Merge remote-tracking branch 'upstream/pull/4717'
[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
 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
   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
   end
 end