projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
20300: Change deprecated update_attributes to update.
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20130626022810_activate_all_admins.rb
1
# Copyright (C) The Arvados Authors. All rights reserved.
2
#
3
# SPDX-License-Identifier: AGPL-3.0
4
5
class ActivateAllAdmins < ActiveRecord::Migration[4.2]
6
def up
7
User.update_all({is_active: true}, ['is_admin=?', true])
8
end
9
10
def down
11
end
12
end