parent
1ca8ead759
commit
eac4d06e56
@ -1,9 +1,9 @@ |
||||
class MakeSystemUserAdmin < ActiveRecord::Migration[6.1] |
||||
def up |
||||
User.system.update_attribute(:admin, true) |
||||
User.system.update_column(:admin, true) |
||||
end |
||||
|
||||
def down |
||||
User.system.update_attribute(:admin, false) |
||||
User.system.update_column(:admin, false) |
||||
end |
||||
end |
||||
|
Loading…
Reference in new issue