]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20230816135800_use_microsoft_graph.rb
Don't send comment text when reopening a note
[rails.git] / db / migrate / 20230816135800_use_microsoft_graph.rb
1 class UseMicrosoftGraph < ActiveRecord::Migration[7.0]
2   def self.up
3     User.where(:auth_provider => "windowslive").update_all(:auth_provider => "microsoft")
4   end
5
6   def self.down
7     User.where(:auth_provider => "microsoft").update_all(:auth_provider => "windowslive")
8   end
9 end