-- List all tables in the current database (all schemas)
SELECT schemaname, tablename
FROM pg_catalog.pg_tables
WHERE schemaname NOT IN ('pg_catalog', 'information_schema')
ORDER BY schemaname, tablename;UPDATE client_details
SET details = jsonb_set(
details,
'{security, totp}',
'true',
false
)
WHERE id = 4;