Tables / Columns

Learn how to create, view, edit, and delete tables and columns in the ERD.

Add Table

Add a new table to the ERD canvas.

1

Click Add Table Button

Click the "Add Table" icon in the ERD toolbar. Once the button is active, the next canvas click creates a table at that position.

Click Add Table Button
2

Click Canvas Position

Click an empty area where the table should be placed. A new table is created in the ERD connection/schema and displayed as a node on the canvas.

Click Canvas Position
Add PathMethod
Add from ERD canvasClick the Add Table icon in the left toolbar, then click an empty canvas area
Add from ERD context menuRight-click an empty canvas area, choose "Add New Table", then click an empty canvas area
Add from schema treeRight-click the schema/table area in the left tree and choose "New Table". The new table opens in a detail tab.

Note: New tables are named with a non-duplicated default such as table1 or table2. If the ERD has a single schema it is used automatically; if multiple schemas are allowed, a schema selection dialog may appear.

Add & Edit Columns

Add columns to a table and configure their properties.

1

Select Table

Click a table node in the ERD. The selected table's column grid becomes editable and the top toolbar shows save, restore, apply-to-DB, and detail-tab actions.

2

Add Column

Click the + button in the header at the far right of the column grid. If a row is focused, press Cmd + Enter on Mac or Ctrl + Enter on Windows to add a new column below the current row.

3

Set PK

Select the PK checkbox for columns to be used as the Primary Key. PK columns are automatically set to Not Null, and N/N cannot be unchecked for them.

Add & Edit Columns

Column Add Methods

LocationMethodInsert Position
ERD table nodeClick the + button in the header at the far right of the column gridAdded as the last column
ERD column cellCmd + Enter / Ctrl + EnterAdded below the selected/focused row
ERD table headerCmd + Enter / Ctrl + EnterAdded as the last column
Table Columns in the detail tabClick the "new column" buttonAdded as the last column

Editable Column Fields

FieldDescription
ColumnEnter the column name directly. Duplicate names within the same table are not applied.
Data TypeChoose from DBMS-specific data types or enter a custom type. ENUM/SET types support a separate value editor.
PKSets whether the column is part of the Primary Key. The change is tracked as a table PK change.
N/NN/N means Not Null. When checked, the column is saved as nullable=false.
A/ISets whether the column is auto-incremented. Default value editing is disabled for auto-increment columns.
Default ValueEnter the default value. This is unavailable for auto-increment columns.
RemarksEnter the column comment/description.
Tip
  • New columns are created with a non-duplicated name such as column1 or column2 and the DBMS default string type.
  • For existing tables, if the DBMS does not support column reordering, new columns can only be inserted within the new-column area, not between existing columns.
  • When PK is checked, Not Null is applied automatically, so you do not need to check N/N separately.

Advanced Column Actions

ActionMethodNote
Reorder columnsDrag the row handle on the left side of the selected table's column rowsAll columns can be reordered for new tables or DBMSs that support column reordering. For existing tables on unsupported DBMSs, only newly added columns can be moved within the new-column area.
Delete selected columnsDelete / Backspace or use "Delete Columns" from the context menuIf a column is used by an FK, a confirmation dialog appears for deleting the related FK. For composite FKs, review any other columns that will be affected.
Configure displayed column fieldsUse checkboxes and drag ordering in the right ERD info panel's column display settingsControls which column fields are visible on ERD nodes and their order: key, name, type, PK, N/N, A/I, default value, and remarks.
Resize column display widthDrag column header borders in the ERD node gridColumn widths are saved per table and preserved when the ERD is opened again.

View Table List

View the list of tables in the database connected via the connection.

View Table List
Tip

You can filter tables by name using the search bar at the top of the table list.

View in Detail Tab

When you select a table, a detail tab opens at the bottom. In the detail tab, you can view and edit detailed information such as columns, indexes, FK, and data.

View in Detail Tab
AreaContent
Database Table InformationSchema, table name, description, engine/charset, and other basic table information
Table ColumnsColumn name, type, PK, N/N (Not Null), A/I (Auto Increment), default value, comments - view/edit
Foreign KeysView, add, and delete FK list
IndexesView, add, and delete index (including Unique) list

Table Actions

Select or right-click a table in the ERD to run table-level actions.

ActionMethodEffect
Open detail tabClick "View in Detail Tab" in the selected table toolbar or context menuEdit table info, columns, FKs, indexes, and constraints in the bottom detail tab.
SaveClick Save in the selected table toolbar or context menuSaves table changes to the current project store. The database is not changed yet.
RestoreClick Restore on a changed table or use the context menuReverts the table to the last saved state. Unsaved table/column edits are discarded.
Pull table infoRun "Pull Table Info" on an existing tableLoads the latest metadata from the database. Local changes are handled according to the selected merge/replace policy.
Apply changes to DBRun "Apply Changes to DB" on a changed tableGenerates and executes CREATE/ALTER/DROP DDL against the actual database.
Remove from ERDDelete / Backspace or use the close icon in the table header, or "Remove from ERD" in the context menuRemoves only the node from the current ERD canvas. The table remains in the schema.
Delete tableClick "Delete Table" in the selected table toolbar or context menuNew tables are removed from the internal store. Existing tables can be marked as deleted or dropped with DROP TABLE.

Note: Delete/Backspace first deletes selected column rows when any are selected; otherwise it removes the selected table from the ERD. Use the "Delete Table" action for actual table deletion.

Save / Restore Table

You can save table structure changes made in the ERD to the current project without applying them to the database.

When there are unsaved changes in a table, the restore button becomes active. Click it to revert to the last saved version.

Save / Restore Table

Apply to Database

Apply the table structure designed in the ERD to the actual database.

Select the changed tables and run the apply to database function. CREATE/ALTER DDL will be auto-generated and applied to the database.

Apply to Database

Copy / Paste Tables & Columns

In the ERD, you can copy or cut tables and columns, then paste them within the same connection and schema.

Copy / Cut / Paste Tables

ActionShortcutContext Menu
Copy tableCmd/Ctrl + CCopy Table
Cut tableCmd/Ctrl + XCut Table
Paste tableCmd/Ctrl + VPaste Table
Tip
  • Use Ctrl/Cmd + click to select multiple tables and copy or cut them together.
  • Cutting a table removes it only from the source ERD after paste completes. It does not immediately delete the source schema table.
  • If copied tables have FKs, you can choose whether to include FK relationships during paste. Name conflicts are avoided automatically.

Copy Columns

1

Select Columns

Click on the columns you want to copy in the table node's column grid. Hold Shift or Ctrl/Cmd to select multiple columns.

2

Execute Copy

Press Cmd/Ctrl + C, or right-click and select Copy Columns from the context menu.

Cut Columns

1

Select columns, then press Cmd/Ctrl + X or select Cut Columns from the context menu. The original columns will be deleted from the source table after pasting.

Paste Columns

1

Select Target Table

Click on the target table in the ERD canvas where you want to paste the columns.

2

Execute Paste

Press Cmd/Ctrl + V, or right-click the target table and select Paste Columns.

3

Choose Whether to Include FK

If the copied columns have associated Foreign Keys, a dialog will ask whether to paste the FK relationships as well.

ActionShortcutContext Menu
CopyCmd/Ctrl + CCopy Columns (N)
CutCmd/Ctrl + XCut Columns (N)
PasteCmd/Ctrl + VPaste Columns (N)

Note: Column copy/paste only works within the same connection and schema. You cannot paste columns into tables from a different connection or schema.

Tip
  • If a column with the same name already exists in the target table, a "_copy" suffix is automatically added (e.g., name → name_copy → name_copy_1).
  • When pasting with FK included, FK names are automatically generated to be unique within the schema.
  • Pasted columns are appended to the end of the target table.

Delete

Delete a table or column.

TargetDelete Method
TableSelect the table, then choose "Delete Table"
ColumnClick the delete (-) button on the column row in column editing mode

Note: When you delete a table that has relation lines connected, those relation lines are also deleted. For tables with FK relations, you must first remove the FK from the referencing table before deleting.

Delete