mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-05 17:38:14 +01:00
- Move 100+ files from root to proper directories - Migration scripts → scripts/db/ - SQL files → supabase/sql/archive/ - Test/debug scripts → scripts/test/ - Documentation → docs/archive/ (organized by category) - Shell scripts → scripts/ (organized by category) - Fix test organization - Remove nested tests/unit/tests/unit/ structure - Consolidate test files to proper locations - Update documentation references - Update migration script paths in workflow docs - Update scripts/README.md with moved file notes - Delete placeholder files - Remove empty placeholder.ipynb - Result: Root directory now contains only essential config files - Result: Professional, organized codebase structure - Result: All files in proper locations per project standards See docs/CLEANUP_COMPLETE.md for full details.
12 lines
465 B
Bash
Executable File
12 lines
465 B
Bash
Executable File
#!/bin/bash
|
|
|
|
API_URL="https://api.supabase.com/v1/projects/ohkueislstxomdjavyhs/database/query"
|
|
TOKEN="sbp_7bc7546939c5675c6146d5773f83f05b0131c614"
|
|
|
|
QUERY='SELECT column_name, data_type FROM information_schema.columns WHERE table_name = '\''profiles'\'' AND table_schema = '\''public'\'' ORDER BY ordinal_position;'
|
|
|
|
curl -s -X POST "$API_URL" \
|
|
-H "Authorization: Bearer $TOKEN" \
|
|
-H "Content-Type: application/json" \
|
|
-d "{\"query\": \"$QUERY\"}" | jq '.'
|