Production databases
Connect Production Data lets your app keep its records in your own PostgreSQL or Supabase database instead of the built-in database. MyAppBuilder always inspects your existing structure first, without making changes, and every schema change is shown to you as a reviewed migration
Beta — ready to use, but some details may still change.
Connect Production Data lets your app keep its records in your own PostgreSQL or Supabase database instead of the built-in database. MyAppBuilder always inspects your existing structure first, without making changes, and every schema change is shown to you as a reviewed migration before anything runs. This feature is in beta.
Data ownership
Every entity has exactly one owner, shown on the entity's Storage tab:
| Ownership | Who changes the structure | Typical use |
|---|---|---|
| Managed by MyAppBuilder | MyAppBuilder, through migrations you approve | New data, or data imported once from a legacy system |
| Existing table | You. MyAppBuilder reads and writes rows but never alters the table | A table another system keeps writing to |
| External API | The API owner | Data that should only be reached through a service |
Managed tables live in their own namespace: a PostgreSQL schema named mab_ plus a short project id (for example mab_7f3a2c). Your own schemas and tables are never modified by a MyAppBuilder migration, and the migration review says so explicitly: Existing customer-owned tables modified: NONE.
Logical names and physical names
What you see in the editor is the logical model: entity and field display names such as Customers and Phone number. In the database each entity is a physical table and each field a physical column (customers, phone_number). The physical name is fixed when the table or column is first created.
Renaming an entity or a field in the editor only changes the display name. The database table or column keeps its name, so reports, integrations and SQL that already use it keep working. Open a field's Advanced section to see its physical column, logical type and native database type.
Three strategies for existing data
When you connect a database that already holds data, the wizard asks How should this application use your existing data?
- Import into app-managed tables. MyAppBuilder creates managed tables and copies your rows into them once, with column mapping, transformations and a report of rejected rows. Choose it when the app becomes the new home of the data.
- Use existing tables. Entities read and write your tables directly. Choose it when another system must keep using those tables.
- Use an API. Nothing is stored in a database; the app talks to a service. Set it up in the APIs section.
No two-way sync
An import is a one-time copy, not a synchronisation. If the legacy system keeps changing the data after the import, those changes do not reach the app, and changes made in the app do not flow back. When both systems must stay current, use existing tables or an API instead.
The flow
- Provider: choose PostgreSQL or Supabase. MySQL, MariaDB and SQL Server are planned and not available yet (see other databases).
- Connect: enter the connection details for one environment (Development, Staging or Production) and test them. Nothing is stored until you save, and nothing is changed.
- Inspect: MyAppBuilder reads the structure only (schemas, tables, columns, keys). No business records are read.
- Strategy: import, use existing tables, or use an API.
- Map: choose source tables and target entities, and confirm every column mapping.
- Migration: review the plan, the SQL and its risk level, then apply it or export the SQL and run it yourself.
- Verify: follow the import progress, or let MyAppBuilder verify a migration you ran yourself.
Limits in this beta
- PostgreSQL 13 or newer and Supabase only.
- Destructive changes (drop, rename, type change) are never applied automatically. See Migrations.
- Imports are one-time copies; there is no scheduled re-import.