# Plentiful Database

> A real database, without the hassle. Every app gets its own Postgres database — designed by the builder, private by default, copied every day.

Every app built with Plentiful has its own dedicated Postgres database: not a share of someone else's, and not a database-like imitation. The builder designs the tables as it builds the app; the app's owner can open them in the dashboard like a spreadsheet.

## Key Features

- **Its own Postgres**: each app has a dedicated Postgres 15 database, reachable only through the platform
- **Designed by the builder**: when the app needs to keep something new, the builder changes the database and the code that uses it together; it reads the current tables first, keeps every change with the app's code in order, and says plainly when a change would remove data
- **Private by default**: every query the app makes runs as the signed-in person (Postgres row level security), so the database itself decides which rows they get
- **Tables in the dashboard**: browse and search rows, add, edit and delete them through a checked form, and pick linked records from a list
- **Permissions in plain words**: each table shows who may view, add, change and delete its rows, and flags a table left open to anyone
- **Copied every day**: each app's database is copied daily and kept off-site with a separate provider; from Pro, restore an earlier day yourself (Pro 7 days, Pro Plus and Team 14, Enterprise 28)
- **Yours to take**: download the app's code and a copy of its database as a ZIP at any time; from Pro Plus, send the code to your own GitHub
- **Postgres extensions**: dozens included and ready to turn on, among them pg_trgm (typo-tolerant search), PostGIS (places and distances) and pgvector (search by meaning)

## Questions

- **Do I need to know anything about databases?** No. You describe what your app should keep, in your own words, and the builder designs the tables.
- **Can I see and change my app's data?** Yes: Database in the app's dashboard — browse and search every table, add a row or correct one.
- **Who can see my users' data?** Each person sees only their own records, unless the app is built to share them; the database checks every request.
- **What if something goes wrong?** The database is copied every day and kept off-site; from Pro, restore an earlier day yourself (7 days on Pro, 14 on Pro Plus and Team, 28 on Enterprise).
- **Can I take my data somewhere else?** Yes: download the app's code and a copy of its database as a ZIP from its settings. It's standard Postgres.

## Technical Details

- Engine: PostgreSQL 15
- Access: the app's own server, over a connection pool, as the signed-in person (`withUser`), as a visitor (`asVisitor`) or, for trusted work only, as an administrator (`asAdmin`)
- Every app is built with: Postgres, TypeScript, React, TanStack Start
- Schema changes: SQL migrations, kept in the app's code and applied in order

## Links

- Guide: http://localhost:3000/docs/guides/app-data/tables
- Backups: http://localhost:3000/docs/guides/app-data/backups
- Download your app: http://localhost:3000/docs/guides/publishing/export
- Pricing: http://localhost:3000/pricing
