
ALTER TABLE users ADD COLUMN can_view_private_keys TINYINT(1) DEFAULT 0;

-- Set alpha admin to have permission by default (assuming id 1 or finding by admin_type if possible, here we rely on code logic for alpha, but explicit permission is good too)
UPDATE users SET can_view_private_keys = 1 WHERE admin_type = 'alpha';
