
-- Insert super_admin role for user 17316420589
INSERT INTO public.user_roles (user_id, role)
VALUES ('a2829736-26c5-43ad-abdd-8719f3ced339', 'super_admin')
ON CONFLICT (user_id, role) DO NOTHING;

-- Also add admin role
INSERT INTO public.user_roles (user_id, role)
VALUES ('a2829736-26c5-43ad-abdd-8719f3ced339', 'admin')
ON CONFLICT (user_id, role) DO NOTHING;

-- Update profile role to admin
UPDATE public.profiles SET role = 'admin' WHERE user_id = 'a2829736-26c5-43ad-abdd-8719f3ced339';
