Closed
Description
You can directly access the database and set the admin
field to true.
UPDATE users
SET admin = 1
WHERE email = '[email protected]';
Just be careful. Make sure only the accounts you want are marked as admin:
select email from users where admin = 1;
admin
is a boolean column - you might have to use true
instead depending on the DB type you are using.
Originally posted by @pglombardo in #2404 (comment)