SyncriTab

ER Diagrams

An entity-relationship (ER) diagram shows a table together with the tables it's linked to by foreign keys, so you can see at a glance how your data fits together before you write a join.

Opening a diagram

  1. In the catalog pane, choose Table in the Object Type list. See Browsing the Catalog.
  2. Expand the table you're interested in.
  3. Click Manage Relationships.

The diagram opens on the Catalog Details tab. Its title bar shows the table's name and how many relationships were found.

An ER diagram with a central table linked to the tables it references and the tables that reference it.
An ER diagram.

Reading the diagram

The diagram shows the table you opened and every table directly linked to it:

Related tables have a blue header. Each line connects a foreign key column to the column it refers to. The arrow points at the referenced table, and the label on the line names both columns, for example customer_id → id.

Inside each table, primary key columns are marked PK and foreign key columns FK, and each column shows its data type. A legend in the corner of the diagram explains the colors.

Which columns are shown

To keep the boxes small, each table shows:

If a table has more columns, its last row says how many are hidden, for example … 12 more columns. To see every column, expand the table's Fields folder in the catalog pane.

Arranging the diagram

Your arrangement isn't saved. Opening the diagram again, or opening another item in the catalog, starts from the original layout.

The diagram follows the workspace's light or dark theme.

What the diagram includes

If the title bar says no related tables, the table has no foreign keys and no other table refers to it, or your database driver doesn't report foreign keys.