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

  1. Open your Supabase project and go to the SQL editor.
  2. Review scripts/setup-psychology-tables.sql in this codebase.
  3. Run the SQL only if the referenced tables and policies are missing.
  4. Return to Tradeloggy and refresh /psychology.