ALTER TABLE users
  ADD COLUMN IF NOT EXISTS is_admin BOOLEAN NOT NULL DEFAULT false;

WITH first_user AS (
  SELECT id
  FROM users
  ORDER BY created_at ASC, id ASC
  LIMIT 1
)
UPDATE users
SET is_admin = true
WHERE id IN (SELECT id FROM first_user);
