Merge branch 'master' into 2272-setup-user-in-workbench
[arvados.git] / services / api / db / migrate / 20130626022810_activate_all_admins.rb
1 class ActivateAllAdmins < ActiveRecord::Migration
2   def up
3     User.update_all({is_active: true}, ['is_admin=?', true])
4   end
5
6   def down
7   end
8 end