> ## Documentation Index
> Fetch the complete documentation index at: https://docs-2.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://docs-2.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://docs-2.manicule.dev/api/mcp.
> Every agent surface: https://docs-2.manicule.dev/.well-known/llms-manifest.json

# Managed Databases & Storage Overview (/databases/overview)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 336 · updated: 2026-11-11 -->
Related: [Cloudflare D1 (Edge SQLite)](/databases/cloudflare-d1.md), [Neon Serverless Postgres](/databases/neon-postgres.md), [Supabase Managed Postgres](/databases/supabase-postgres.md), [Database Migrations & ORM Setup](/databases/migrations.md), [Build Logs & Instant Rollbacks](/deployments/build-logs-and-rollbacks.md)

> Provision and manage Cloudflare D1 (Edge SQLite), Neon Serverless Postgres, and Supabase directly in BhaiCode.

BhaiCode includes built-in database provisioning so you can add persistent storage without leaving your workspace.

***

## Supported Engines

| Engine            | Type                  | Best For                                                | Default Tooling                                 |
| ----------------- | --------------------- | ------------------------------------------------------- | ----------------------------------------------- |
| **Cloudflare D1** | Edge SQLite           | Ultra-fast reads, content management, lightweight apps  | Drizzle ORM                                     |
| **Neon Postgres** | Serverless PostgreSQL | Relational schemas, branch-based testing, autoscaling   | Drizzle ORM, Prisma, `@neondatabase/serverless` |
| **Supabase**      | PostgreSQL + BaaS     | User authentication, storage buckets, realtime features | `@supabase/supabase-js`, Drizzle ORM            |

***

## Automated Setup

When you provision a database in Cloud Studio:

1. Credentials are bound to project environment variables (`DATABASE_URL`, API keys).
2. Client libraries and ORM configuration are installed.
3. When you describe data models in chat, Bhai creates and runs the SQL migrations automatically.
