feat: support direct Postgres via DATABASE_URL
When DATABASE_URL is set, data queries route to a direct Postgres connection using a Supabase-compatible query builder. Auth continues through Supabase. Falls back to existing Supabase client when unset. Supports optional DATABASE_SCHEMA env var for custom schema prefix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
| Repository | pixelysg/mike |
|---|---|
| Author | Jia Jian Goi <jiajian@use-agently.com> |
| Authored | |
| Committed | |
| Parents | 63730c9c |
| Stats | 4 files changed , +652 , -5 |
| Part of | Direct Postgres connection via DATABASE_URL |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-27f2ffc9.md
from inside the repo you want the change in.