Skip to content
MyAppBuilder
BetaGuide

How production data works

Design with preview data. Connect your database for production. Build and test your application safely. When you're ready to launch, connect your own supported production database. This page explains what happens to your data at each step. Connecting a production database is in b

Beta — ready to use, but some details may still change.

Design with preview data. Connect your database for production. Build and test your application safely. When you're ready to launch, connect your own supported production database. This page explains what happens to your data at each step. Connecting a production database is in beta.

Preview data and production data

Preview dataProduction data
Used byThe editor, the preview and staging deploymentsYour published app
RecordsTest records you create, import or generate while buildingThe records your customers and team create
Where it livesThe preview environment (or a development database you connect), separate from productionYour own supported database (PostgreSQL 13 or newer, or Supabase)
PlanEvery plan, including the trialLaunch and up

The two never mix: nothing you do in the preview touches production records. See Test data.

Your database, your production data

For production you connect your own database to the app's Production environment. Your records stay in your database, under your backups and your access rules, and other systems can keep using it.

MyAppBuilder connects with database users you create, each with only the permissions its job needs: a read-only user for inspection, a migration user for the changes you approve, and a runtime user that the published app uses to read and write rows (it cannot change the structure). Credentials are encrypted on the server, never stored in your app definition and never sent to the browser. See Credentials and permissions.

An isolated namespace for MyAppBuilder-managed tables

MyAppBuilder can create and manage application tables inside an isolated namespace in your supported database: 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 every migration review says so: Existing customer-owned tables modified: NONE.

Tables you already have can stay where they are. Map an entity to an existing table and MyAppBuilder reads and writes its rows without ever altering the table. See Production databases for the three strategies (import, existing tables, API).

Initial inspection is read-only

When you connect a database, MyAppBuilder first inspects its structure — schemas, tables, columns, keys and approximate row counts — with the read-only inspection user. No business records are read and nothing is changed. Existing tables are not changed during inspection.

Migrations are reviewed before they're applied

Every structural change is a migration you review first: the plan, the exact SQL, its risk level and the list of existing tables it touches. Only then can a project admin apply it (after typing the target database name), and MyAppBuilder verifies the result. Destructive changes — drops, renames, type changes — are never applied automatically. See Database migrations.

Customer-managed SQL

Prefer to run database changes yourself? Download the migration as SQL (for example migration_v34_postgresql.sql), choose I will apply these changes myself, run it with your own tools and review process, then select Verify Database. MyAppBuilder marks the database as synced only when the structure matches.

What the trial includes

Build and preview free for 14 days. Upgrade when you're ready to publish.
  • The 14-day trial includes the full builder — the AI builder, the visual editor, the storyboard, data modeling, workflows, roles & permissions — and the preview environment with preview data. You can also connect a database, inspect it and plan migrations, and try the flow against a development or staging database. Migrations and customer-managed SQL for production are preview-only.
  • Production publishing starts with Launch ($29/month, or $290/year). Launch adds your first production app, a customer production database (the production runtime connection, production migrations and imports), full customer-managed SQL and a custom domain.

See The 14-day trial and Plans and pricing.

Good to know

  • Connecting a database is chosen per entity on its Storage tab. An entity that isn't assigned to a connected database keeps its records in MyAppBuilder's built-in database.
  • Publishing checks your production database before every release and is blocked when a required migration hasn't been applied. See Publishing with a database.
  • Restoring an earlier app version or unpublishing never changes your database.
  • Supported today: PostgreSQL 13 or newer and Supabase. MySQL, MariaDB and SQL Server are planned. See Other databases.

Related

Was this helpful?