Managed Databases & Storage
Provision Cloudflare D1 (edge SQLite), Neon Serverless Postgres, and Supabase without leaving your workspace.
BhaiCode provisions persistent storage for you, then wires it into your project: the connection string lands in your environment, the client library is installed, and Bhai writes migrations when you describe your data model.
| Engine | Type | Best for | Default tooling |
|---|---|---|---|
| Cloudflare D1 | Edge SQLite | Fast reads, content sites, lightweight apps | Drizzle ORM |
| Neon Postgres | Serverless Postgres | Relational schemas, branch-based testing, autoscaling | Drizzle, Prisma, @neondatabase/serverless |
| Supabase | Postgres + backend | Auth, storage buckets, realtime | @supabase/supabase-js, Drizzle |
What provisioning does
Create the database
In Cloud Studio, open the Databases drawer and click Provision database.
Bind credentials
Connection strings and keys are written to project environment variables
(DATABASE_URL, NEXT_PUBLIC_SUPABASE_URL, …), never exposed to the client bundle.
Install tooling
The ORM and client packages are added, with a typed schema starter for Drizzle.
Run migrations
Describe your model and Bhai generates and runs the SQL migration.
Each engine above also has its own connector page for OAuth and project linking. Start from Connectors if you have not connected a provider yet.