Something went wrong. Try again.
A lexicon-driven AppView for ATProto.
Something went wrong. Try again.
265 B · 9 lines
SQL
at main
12345678910-- Rename tableALTER TABLE admins RENAME TO users;
-- Add is_super columnALTER TABLE users ADD COLUMN is_super INTEGER NOT NULL DEFAULT 0;
-- Set earliest admin as super userUPDATE users SET is_super = 1WHERE created_at = (SELECT MIN(created_at) FROM users);