Add new post
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Marko Korhonen 2023-12-10 12:36:32 +02:00
parent f33656b303
commit 549b6d2dac
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
5 changed files with 122 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,4 @@
misskey=# BEGIN;
UPDATE "user" SET "isRoot" = true WHERE id = '9n1njqolcd';
UPDATE "user" SET "isRoot" = false WHERE id = '9n342nasd3';
COMMIT;