korhonen.cc/content/posts/migrate_misskey_root_account/code/query_users
Marko Korhonen 549b6d2dac
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add new post
2023-12-10 12:36:32 +02:00

7 lines
234 B
Plaintext

misskey=# SELECT id, username, "isRoot" from "user" WHERE host IS NULL;
id | username | isRoot
------------+-------------+--------
98wzsyrur6 | relay.actor | f
9n1njqolcd | root | f
9n342nasd3 | marko | t