]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20230816135800_use_microsoft_graph.rb
Add frozen_string_literal comments to ruby files
[rails.git] / db / migrate / 20230816135800_use_microsoft_graph.rb
1 # frozen_string_literal: true
2
3 class UseMicrosoftGraph < ActiveRecord::Migration[7.0]
4   def self.up
5     User.where(:auth_provider => "windowslive").update_all(:auth_provider => "microsoft")
6   end
7
8   def self.down
9     User.where(:auth_provider => "microsoft").update_all(:auth_provider => "windowslive")
10   end
11 end