Native Database

Build with confidence: every app gets a production-grade Postgres database out of the box. No setup, no glue code - just store, query, and ship.

What you get

  • Built-in Postgres for your app (serverless, production-grade).

  • Agent-assisted schema & migrations - describe the data you need; the agent can design tables and write migrations.

  • Users & Data viewer to inspect tables and rows directly in the UI.

Typical tasks

  • Create tables fast: tell the agent, e.g. “Add customers {name, email, phone} and orders {total, status, customer_id} with FK.” It will propose a schema and migrations.

  • Query & CRUD: read/write in your backend; list records for dashboards; update statuses; delete test data.

  • Peek & debug: open Users & Data to sanity-check what your app is persisting.

How to use (quick)

  1. Open Users & Data to see current tables.

  2. Ask the agent to add/adjust schema (it generates migrations), then run.

  3. Wire backend endpoints to read/write your tables.

  4. Verify in Users & Data and your app UI.

Good patterns

  • Keep writes server-side; the backend owns DB access.

  • Evolve with small, reversible migrations; commit messages should say what changed and why.

  • Log identifiers, not PII, when debugging.

FAQ

Is the DB really included by default?

Yes - your app gets its own Postgres DB with no extra setup.

Can the agent handle migrations for me?

Yes - it can design schema and write raw SQL migration files you can apply

Can I view data without external tools?

Yes - use Users & Data to browse and edit records.

Last updated

Was this helpful?