mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 19:44:09 +00:00
Add migration to make all current users admins (#770)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddAdminRoleToCurrentUsers < ActiveRecord::Migration[7.2]
|
||||
def up
|
||||
User.update_all(role: "admin")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user