Open the ERD
Go to Backend → Data. You can open the diagram two ways:- In the page header, click Diagram under DB-LEVEL TOOLS, next to SQL Playground.
- On the Your Data home, click View Diagram. This page appears when you open Data without selecting a table, and it shows how many tables, views, and data types the project has.

master before you merge.
The canvas
The ERD arranges tables in colored bands, one band per domain, which groups related tables together. The diagram opens in a vertical layout and fits the whole schema on screen. The header shows the number of tables and relationships and the detail level, such as “21 of 21 tables · 28 relationships · keys + types”.
- The header shows the table name and a summary such as “12 columns · 3 FK”.
- Primary keys carry a PK badge. Foreign keys carry an FK badge and a link such as
→ usersto the table they reference. - When a table has more columns than the card shows, a +N columns button expands the card to list them all. Audit columns sit in a collapsible Audit section.
- Hover over a card and select the arrow icon to open the table’s data in a new tab.
Toolbar
The toolbar sits in the top-right corner of the dialog:
Search
Click the search icon and type a table or column name. Results list matching tables, and matching columns appear astable.column. Use the arrow keys to move through results and press Enter, or click a result, to focus that table. If nothing matches, the list shows No matching tables.

Filter tables
Open All tables to choose which tables appear:- Uncheck a table to remove it from the diagram. The button then reads Filtered tables.
- Select Clear all or Select all to hide or show every table at once. At least one table always stays visible.
- Hover over a table and select the focus icon to show only that table and the tables it relates to.
- Select Rebalance diagram to re-lay out the remaining tables.

Export the diagram
Open Export and choose a scope:- Current view exports what’s on screen.
- All sources exports every table regardless of the current filter.

- Copy image sends the diagram to your clipboard. While the export menu is open,
Cmd+CorCtrl+Cdoes the same. - PNG downloads a 2x, retina-resolution image.
Domains panel
The Domains panel on the left lists each domain with a colored dot, a checkbox, and its table count.
- Check or uncheck a domain to show or hide its tables. Unchecked domains are left out of the diagram and the export.
- Select All or None to show or hide every domain.
- Click a domain name to expand it and see its tables. Click a table to focus it.
Table and relationship counts leave out hidden permission tables. The All tables list still shows every table, so its count can be higher than the footer.
Inspector
Click a table on the canvas to focus it. The diagram narrows to the table and the tables related to it, and the status bar shows how many are related. The Inspector opens on the right.
- The table name, its domain, and a summary of columns, foreign keys, and references.
- Columns — every column with its type. PK and FK badges mark keys.
- A
→ tablelink under each foreign key. Click it to jump to the referenced table. - Referenced by — the tables that point to this one, with the column they use (for example, “via
user_id”) and the cardinality. Click a row to jump to that table. If nothing points here, the section reads No tables point here.
Esc, click an empty part of the canvas, or select Fit. The status bar reminds you: “Click a table to focus it. Esc resets.”
When the ERD doesn’t load
- If the project has no tables yet, the ERD shows a button to generate the data model.
- If your backend is generated but its data model can’t be loaded, the Data page shows We couldn’t load your database with a Retry button. This is a temporary problem, not a missing backend.
- If the diagram itself fails to load, you see an error with a Try Again button.
FAQ
Can I edit the schema from the ERD?
Can I edit the schema from the ERD?
No. The ERD is read-only. Make schema changes on the Data page’s Schema tab.
Does the ERD update automatically when I change a table?
Does the ERD update automatically when I change a table?
Yes. It’s generated from the current schema, so a new table, field, or relationship appears the next time you open or refresh the ERD.
What do the 1:1, 1:N, and N:M badges mean?
What do the 1:1, 1:N, and N:M badges mean?
They show the cardinality of the relationship between the two connected tables: one-to-one, one-to-many, or many-to-many. The cardinality comes from how the relationship field is configured.
Can I export just part of my schema?
Can I export just part of my schema?
Yes. Hide tables with the All tables filter or uncheck domains in the Domains panel, then export with the scope set to Current view.
Can I rearrange the cards?
Can I rearrange the cards?
Yes. Drag a card to move it. Select Rebalance diagram in the All tables list to re-lay out the remaining tables.