add sql script to fix user

This commit is contained in:
2025-08-18 11:29:18 +02:00
committed by swordsteel
parent cf1b78ae0a
commit f0ff324cf2

View File

@@ -0,0 +1,6 @@
UPDATE public.accounts
SET
roles = REPLACE(roles, 'ROLE_', ''),
updated_at = CURRENT_TIMESTAMP
WHERE
roles LIKE '%ROLE_%';