Add tables and columns

Add tables, columns, enums, groups and notes to an ER diagram from the palette, the selection bar or the keyboard.

Add elements from the palette along the bottom of the canvas, from the selection bar, or with a single key. Each new element opens for naming straight away. Type the name and press Enter.

Add a table

Select Table in the palette, or press T. The table starts with an id integer key.

Where it goes depends on what's selected:

  • With a table selected, it goes after that table and into its group.
  • With a group selected, it goes into that group.
  • With nothing selected, it goes at the end.

A group's bar and a table's More (⋯) menu have Add table too.

Add a column

Select a table and choose Add column in the selection bar, or press C. The column goes at the end of the table, as a varchar.

With a column selected, press C or choose Add column below in More. The new column goes below the selected one.

To make a column part of the primary key, select it and press K. Press it again to take it out. With several columns of one table selected, K makes them the key together.

Add an enum

Select Enum in the palette, or press E. An enum starts with two values, active and archived. Rename them in place or in Properties.

To add a value, select the enum and choose Add value. The value goes at the end of the list.

Add a group

Select Group in the palette, or press G. The group goes around the selected tables. With no table selected, it starts empty.

To put a table in a group later, choose Move to group in the table's bar, or pick the group under Group in the table's properties.

Add a note

Select Note in the palette, or press N. The note starts with the text "Note". The app places it below the tables, next to the enums.

A note on a table, column or group is part of that element. Choose Add note in the element's bar to write one.

From the canvas menu

Right-click empty canvas, or long-press it on a touch screen, to open the canvas menu. It has Add table, Add enum, Add note and Add group.

The same menu has Database, which sets the database the schema is for. It also has Select all, Select an area, Tidy up, Set spacing, Snap to grid and Fit to view. See Move and arrange for the layout items.

Detail shows every column, the keys alone, or the table names alone. See Detail levels.

On this page