This commit is contained in:
parent
f33656b303
commit
549b6d2dac
5 changed files with 122 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
misskey=# SELECT id, username, "isRoot" from "user" WHERE host IS NULL;
|
||||
id | username | isRoot
|
||||
------------+-------------+--------
|
||||
98wzsyrur6 | relay.actor | f
|
||||
9n1njqolcd | root | f
|
||||
9n342nasd3 | marko | t
|
|
@ -0,0 +1,4 @@
|
|||
misskey=# BEGIN;
|
||||
UPDATE "user" SET "isRoot" = true WHERE id = '9n1njqolcd';
|
||||
UPDATE "user" SET "isRoot" = false WHERE id = '9n342nasd3';
|
||||
COMMIT;
|
Loading…
Add table
Add a link
Reference in a new issue