erp-cicd/frontend/supabase/migrations/20250808162440_95679557-56cf-41fe-abc7-733594272d5c.sql
Ali af6fd7bcad
All checks were successful
Build & Deploy Frontend / build-push-deploy (push) Successful in 1m45s
added some
2025-08-30 11:57:49 +05:30

9 lines
270 B
SQL

-- Upgrade the current user to admin role
UPDATE profiles
SET role = 'admin'
WHERE user_id = '1b68667f-d965-4a9c-a182-1b91d9d35d80';
-- Verify the update
SELECT user_id, display_name, email, role
FROM profiles
WHERE user_id = '1b68667f-d965-4a9c-a182-1b91d9d35d80';