Back to Psychology
Setup guide
Psychology assessments setup
Use this checklist only if the app reports that psychology assessment storage is unavailable. It references the existing setup SQL file and does not create duplicate tables from this page.
Verify schema first
Confirm whether the psychology tables already exist in Supabase before running any SQL.
Preserve RLS
Keep row-level security enabled and use the policies provided with the existing setup script.
Refresh and test
After applying the verified SQL, refresh the psychology page and complete a test assessment.
Setup steps
- Open your Supabase project and go to the SQL editor.
- Review
scripts/setup-psychology-tables.sqlin this codebase. - Run the SQL only if the referenced tables and policies are missing.
- Return to Tradeloggy and refresh /psychology.