# Applying the Design Thinking Schema Migration ## Option 1: Supabase Studio (Recommended) 1. Go to https://supabase.mylder.io 2. Login with dashboard credentials: - User: `5f7DODtzYzoXKusR` - Password: `VHmrbh9a6QVcXE2b2hMblhPoRsqsd2Gj` 3. Navigate to SQL Editor 4. Copy contents of `migrations/20251214_design_thinking_schema.sql` 5. Execute ## Option 2: Via psql on VPS ```bash # SSH to VPS ssh root@149.102.155.84 # Find the PostgreSQL container docker ps | grep postgres # Execute migration docker exec -i psql -U supabase -d postgres < /path/to/migration.sql ``` ## Option 3: Via docker exec with heredoc ```bash docker exec -i supabase-db psql -U supabase postgres <<'SQL' -- Paste contents of 20251214_design_thinking_schema.sql here SQL ``` ## Verification After applying, verify tables exist: ```sql SELECT table_name FROM information_schema.tables WHERE table_schema = 'public' ORDER BY table_name; ``` Expected tables: - projects - project_phases - backlog_items - ai_recommendations - project_health_snapshots - project_activities