ER Diagram
See how your tables are related. Rowpilot draws an entity-relationship diagram from the schema it has loaded: the tables, their columns and the foreign keys between them.
Open a diagram
Right-click in the schema tree in the right sidebar and pick Show ER diagram. What you right-click decides what the diagram starts with:
| You right-click | The diagram opens with |
|---|---|
| A table | That table only |
| A schema | All tables of the schema |
| A database | All tables of the database |
A diagram of one table has the Add linked tables button. It adds the tables this table references and the tables that reference it.
Choose the tables
The list on the left has every table and the number of foreign keys next to it.
- Check or uncheck a table to add it to the diagram or remove it
- All and None select everything or clear the diagram
- Type in Search tables to find a table by name
Keys only or all columns
All columns shows every column with its type. Keys only keeps just the primary and foreign key columns, which is easier to read on a large schema. A diagram with more than 12 tables opens in Keys only.
Zoom, copy and download
Zoom inandZoom outchange the size of the diagram,Reset zoombrings it backCopy as imageputs the diagram on the clipboardDownload as PNGsaves it to a file
Limits
- The ER diagram column in Features by database shows which data source types have it
- One diagram holds up to 80 tables. A larger schema opens with its 80 most connected tables, and you pick the others from the list
- Relationships come from foreign keys. Tables without foreign keys are drawn without relationships
