14 lines
466 B
SQL
14 lines
466 B
SQL
-- One-time seed — promote your account to admin.
|
|
-- Run AFTER first signing in via magic-link at https://disclosure.top.
|
|
-- Edit the email below before running.
|
|
|
|
UPDATE public.profiles
|
|
SET role = 'admin',
|
|
budget_cap_usd = 9999.0,
|
|
daily_quota = 10000
|
|
WHERE id = (SELECT id FROM auth.users WHERE email = 'YOUR-EMAIL@example.com');
|
|
|
|
-- Verify
|
|
SELECT id, display_name, role, budget_cap_usd, daily_quota
|
|
FROM public.profiles
|
|
WHERE role = 'admin';
|