Supabase Directory
This directory stores SQL files for the project's Supabase/PostgreSQL database.
Current Baseline
schema.sqlis the first registered database SQL file.- Its documentation is in
docs/database/0001-initial-schema.md. - Its order is tracked in
docs/database/query-order.md. - Execution history is tracked in
docs/database/query-log.md.
Future Changes
Future schema changes should be added under:
supabase/migrations/
Optional local/demo data should be added under:
supabase/seeds/
Do not overwrite already executed SQL without also creating a new ordered migration and documenting why.
Current Ordered SQL
schema.sqlmigrations/0002_add_freelancer_os_core_tables.sql- Optional:
seeds/0001_demo_freelancer_os_data.sql