ERD Designer User Guide
ERD Designer (erddesigner.com) is a browser-based entity-relationship modeling tool for database administrators, data modelers, and data architects. It imports DDL or a live database schema into a readable physical model (reverse engineering), and generates DDL and deploys it into a live database schema (forward engineering). Conceptual models are also supported, with SuperTypes, SubTypes, Types and Domains, and a conceptual model can be transformed into a physical schema. A schema can be converted from one database type to another, with the appropriate DDL and datatypes for the target. ERD Designer has built-in AI (AI Assist), and connects to Claude and ChatGPT through an MCP connector. The optional ERD Designer Agent, a small program on your own computer, lets ERD Designer read from and apply to your live databases without your database password ever leaving your computer.
This guide describes every screen, form, field and button in ERD Designer and in the ERD Designer Agent. The short index is at https://erddesigner.com/llms.txt.
- The app – https://app.erddesigner.com
- Support – support@erddesigner.com (email only). Include the email address of your ERD Designer account, what you were doing, what you expected to happen, and any message shown, word for word or as a screenshot.
- Databases – PostgreSQL, Oracle, SQL Server, MySQL, MariaDB, SQLite, Amazon Redshift, Google BigQuery and Snowflake.
How to read this guide – The guide follows these conventions:
- Buttons and icons – A button has a text title, shown in bold exactly as it reads on screen and always called a button: "click the OK button". An icon has an image and no text; its name is the tooltip that appears when you hover over it, shown in bold beside the image and always called an icon: "click the Save model icon". The toolbar's controls are icons.
- Titles – The title of a form dialog, page, panel, tab, card or field is in italics, followed by what it is: the Edit Model form dialog, the Model Name field.
- Messages – A message ERD Designer shows you is in "quotation marks".
- Lists – Each entry starts with its name in bold, followed by a dash and the detail.
- Actions – Buttons, cards, icons, tabs and rows are clicked; palette buttons, tables and entities are dragged; keyboard keys are pressed; checkboxes and radio buttons are selected (and checkboxes unselected); list options are selected; text is typed into a field. A button is always named with its action and the word button: "click the OK button". A checkbox or radio button is named the same way: "select the Plural table names checkbox", "select the Identifying radio button".
- Values –
{name}stands for a value that changes, such as a table's name.
1. Getting started
1.1 Signing up
You can sign up to use ERD Designer with the Google or Microsoft single-sign-on, or with an email address. No payment details or credit card information is needed to sign up.
Every new account starts on the free Basic plan, and the user is given access to the application immediately – though feature limitations, based on plan, apply.
To sign up, open https://app.erddesigner.com and click the Sign-up free! NO CREDIT CARD REQUIRED button at the bottom of the sign-in form. Then click the Continue with {Provider} button for Google or Microsoft as the single-sign-on provider; or type your email address in the Email address field and click the Continue button. ERD Designer emails a code to you to confirm your email address. The single-sign-on provider button you used last in the browser may be outlined in blue, and a small Last Used tag may be displayed, showing the way in which you last signed on. Users are encouraged to be consistent in using the same method of sign-on.
Every account must have a verifiable email address to which receipts and other digital communication may be sent by the ERD Designer application. If a single-sign-on provider confirms who you are, but does not share an email address, the sign-up is not complete, and an account is not created. ERD Designer displays "We couldn't create your account" and explains how to let the single-sign-on provider share your address (with steps for Google and Microsoft), then offers to let you sign up with your email address.
If the email address already belongs to another ERD Designer account, the sign-up form says, "An ERD Designer account already uses this address. Sign in instead."
If you pasted a Data-Definition-Language (DDL) script on the website, or opened a design link from an AI chat window, the sign-up form says so. After you complete a valid sign-up you will land on a physical model displaying the objects in your script.
1.2 Signing in
Signing in never creates an account. If you sign in with a Google or Microsoft address that has no account, you see "No ERD Designer account uses this address. Sign in the way you did last time, or sign up for a new account." From the sign-in form, the Sign-up free! NO CREDIT CARD REQUIRED button takes you to the sign-up form; and from the sign-up form, the Sign in button directs you back to the sign-in form.
If a sign-in using a single-sign-on provider (Google or Microsoft) does not complete correctly, ERD Designer shows the message "Your sign-in didn't finish", with the reason it didn't finish. Email support if this problem persists.
If the single-sign-on service does not answer within ten seconds, you will see the message "Sign-in is unavailable right now." Click the Try again button, or wait: it tries again by itself every 30 seconds. If you are signed in but your account cannot be loaded, you will see the message "We couldn't load your account", with the same Try again button.
To sign out, close any open model and click the
Sign out icon in the upper-right corner of the toolbar. The Sign out icon is offered only when no model is open; when a model is open, the
Close model button takes its place. You must close a model before signing out.
1.3 Plans at a glance
| What you can do | Basic (free) | Pro | Advanced |
|---|---|---|---|
| Physical models: create, save, open | ✓ (Open lists only models saved in the last 72 hours) | ✓ | ✓ |
| Auto-layout | ✓ | ✓ | ✓ |
| Import a DDL script (pasted or from a file) | ✓ | ✓ | ✓ |
| Use ERD Designer from Claude or ChatGPT | ✓ | ✓ | ✓ |
| Generate and export DDL | — | ✓ | ✓ |
| Read a live database and apply DDL to it, through the Agent | — | ✓ | ✓ |
| Convert a model to another database | — | ✓ | ✓ |
| Model report, export as PDF, print | — | ✓ | ✓ |
| Buy AI Access (AI Assist) | — | ✓ | ✓ |
| Conceptual models, and transforming them into physical ones | — | — | ✓ |
| Domains and types | — | — | ✓ |
- Plan Pricing – can be found at the bottom of the website's home page (https://erddesigner.com/#pricing) and on the Choose a Plan page in the application.
- An AI Assist – is ERD Designer's built-in access to AI. To access it you must purchase AI Access, which gives you access to the feature and includes 100 AI Assists (an AI Assist enables the user to make one request to AI to modify the model in some form). Packs of 100 more AI Assists may be purchased afterward. AI Assists never expire. See section 14.
- Workgroups – are shared seats for a team of data architects working within a business entity. Each seat has the full functionality of the Advanced plan and may share a set of models owned by the business. A Workgroup Administrator can manage access to models using Create, Update, Delete, and Read privileges. See section 17.6.
- Students – University instructors may request access codes for their students at https://erddesigner.com/educators. ERD Designer typically provides these at steep discounts, but obtaining these codes can take a week or more to approve. Please apply for these codes well in advance of your class start date.
- How long models are kept:
- On the Basic plan – models that have been saved within the last 72 hours are accessible by the user. Models that have not been saved or updated within the last 30 days are permanently deleted. Upgrading to a Pro or Advanced plan restores access to all models saved within the last 30 days, and they remain accessible throughout the length of a paid subscription.
- Subscription Downgrades:
- From the Advanced plan – Downgrading from the Advanced plan makes conceptual models inaccessible and then permanently deletes them after 72 hours.
- To the Basic plan – Downgrading to the Basic plan makes conceptual models inaccessible and, 72 hours after the downgrade, permanently deletes every model not saved since the downgrade.
- Workgroups – A workgroup's models are permanently deleted 30 days after its subscription ends. These models remain inaccessible unless the user resubscribes.
- Failed renewals – ERD Designer's inability to renew your subscription using the credit card you provided when purchasing your subscription will result in a downgrade to the Basic plan and may result in the loss of models as specified above.
- No recovery – ERD Designer has no way to recover deleted models, so please maintain your subscription to avoid loss.
When you attempt to use features your subscription plan does not include, the Choose a Plan page will open with a "Please Upgrade" notice. The feature's tooltip typically says, for example, "Generating DDL requires the Pro Plan or higher". You will need to upgrade your plan if you wish to access the selected feature.
1.4 The start screen
When entering the application you will see the Welcome to ERD Designer title, with "Create a new model, or open one you saved earlier." beneath it. Some of the following cards may be displayed:
- New Conceptual Model card – Click it to create a new conceptual model (with entities, SuperTypes, SubTypes, types and domains). It is available on the Advanced and Workgroup plans only.
- New Physical Model card – Click it to create a new physical model (with tables and relationships). It is available on all plans.
- Open Existing Model card – Click it to open an existing model. It is available on all plans.
- Import DDL / Reverse Engineer card – Click it to build a model from DDL (on any plan) or from a database (on the Pro, Advanced, or Workgroup plan).
Below these cards is a Select Plan button that opens the Choose a Plan page. At the bottom right, while no Agent is active on this computer, there is an Agent button. It can be entitled:
- Install Agent button – appears if the Agent is not installed. Click it to see what the Agent is and how to install it.
- Start Agent button – appears if the Agent isn't running. Click it to start the Agent and activate its menu. The button reads Starting the Agent… while the Agent starts up.
When a chat is connected, a pill at the top right reads "Connected to {Claude or ChatGPT}" with a Disconnect button.

2. Working with models
2.1 The Toolbar
From left to right:
| Icon (tooltip) | What it does |
|---|---|
| Nothing; it is the product's name. | |
| Opens Edit Model Properties (2.6). Under the name, Conceptual or Physical, and " · View only" on a workgroup model you may only read. | |
| Switch between the model and its domains and types (3.1). | |
| Undoes the last change. Greyed out ("Nothing to undo") when there is nothing to undo. | |
| Redoes it. Greyed out ("Nothing to redo") when there is nothing to redo. | |
| Starts a new model (2.2). In a workgroup where you may not create models it is greyed out: "You may not create models in this workgroup". | |
| Opens one of your saved models (2.4). | |
| Saves the open model (2.3). On a workgroup model you may only read, it is greyed out ("View only"). | |
| Saves a copy under a new name (2.5). | |
| Opens Edit Model Properties (2.6). | |
| Workgroup admins may use this icon to edit the model’s privileges for user access within the Workgroup (17.6). | |
| Transforms a conceptual model to a physical model. See section 7. | |
| Generates DDL or a schema for a target database. See section 9. | |
| Opens the AI panel: AI Assist (section 14) or Connect Claude or ChatGPT (section 15). | |
| Generates a PDF report of the objects in the open model. See section 11. | |
| Generates a PDF of the open model. See section 12. | |
| Prints the open model. See section 13. | |
| Enables the user to utilize Select Mode to drag-drop a selection outline over several model objects (3.2). | |
| Alternates notation between Bachman and Crowsfeet style relationships (3.3). | |
| Opens Choose a Plan. If you belong to a workgroup it reads My {Plan} Plan ▾ and allows the user to switch between a user’s personal plan and workgroups (17.6). | |
| Opens Choose a Plan. Hidden on Advanced and in a Workgroup. | |
| Opens your account (section 17). | |
| Closes the open model. With no model open, this icon is replaced with a |
When the window is narrow, icons are dropped from the right side of the toolbar; Edit profile and Close model or Sign out always stay lit.


2.2 Creating a model
Click the
New model icon on the toolbar, or click a New … Model card on the start screen. The New Model form dialog asks for:
- Model Name – Placeholder "Untitled Model". If you already have a model of that name you see "A model with that name already exists.", followed by "Because of our 30-day retention policy, your account may hold models, by the above name, that are not shown in the Open Model list." Please use another name in this case.
- Model Type – Physical or Conceptual. Shown only on Advanced and Workgroup plans, and only when you did not already choose the model type on the start screen.
- Target Database / Version (physical models only) – The list of target database types from which you may choose: Amazon Redshift, Google BigQuery, MariaDB, MySQL, Oracle, PostgreSQL, Snowflake, SQL Server, SQLite. The default is PostgreSQL 17. Versions offered:
- Oracle – 23c, 21c, 19c, 18c, 12c R2, 12c R1, 11g R2.
- MySQL – 8.4 LTS, 8.0.23, 8.0, 4.7.
- PostgreSQL – 17 to 10.
- SQL Server – 2022, 2019, 2017, 2016, 2014, 2012.
- SQLite – 3.43, 3.37, 3.31, 3.20.
- MariaDB – 11.x, 10.11 LTS, 10.6 LTS, 10.5, 10.4, 10.3, 10.2.
- Redshift, BigQuery and Snowflake have no versions to choose. The version matters: some features exist only from a given version, and ERD Designer offers only what your version supports (for example CHECK constraints from MySQL 8.0.16).
- Default Schema (physical models only) – Optional. The target schema to which the DDL will be deployed.
- Default Owner / Database User (physical only) – Optional.
Click the Create Model button. An empty canvas opens. Nothing is stored until you save. Click the Cancel button to go back.

2.3 Saving a model
Click the
Save model icon. You see a "Model saved." message. On the free Basic plan it says "Model saved, until {date and time}". Remember that on the free plan models are only accessible for 72 hours.
A model that has never been saved (new, imported, transformed or proposed by a chat) opens the Save Model form dialog first, with the same fields as New Model; click the Save Model button.
ERD Designer never saves by itself. If a save fails you see "Save failed. {reason}". If the server could not be reached, your changes are kept in the browser until you can save it (see section 19).
2.4 Opening a model
Click the
Open model icon on the toolbar (or the Open Existing Model card on the start screen). The Open Model form dialog:
- Lists the models to which you have access. Physical models are outlined in red and conceptual models in blue. In a workgroup each model also says "View only", "Can edit" or "Can edit and delete".
- Has an All, Conceptual, and Physical filter tab when using the Advanced or Workgroup plan.
- On the Basic plan, a message is displayed, "The Basic Plan only displays models that you saved within the last 72 hours. Upgrade to access all the models you have saved within the last 30 days."
Click a model to open it.
The
trash icon on a model deletes it: click the trash icon, then click the Yes button to confirm, or the No button to cancel. Deleting is permanent.
Click the
icon to close the list.
The Basic and Pro plans never list conceptual models.

2.5 Save Model As
Click the
Save As icon to copy this model to a new name. The Save As form dialog copies the model and everything on the canvas, including its AI Assist conversation, under a new model name. The original is left as-is.
- New Model Name – defaults to "{old model name} copy".
- The model type and target database stay the same.
- Click the Save As button. The open model is now the new copy.

2.6 Edit a Model: renaming, changing the database, deleting
Click the model's name on the toolbar, or click the
Edit model properties icon. The Edit Model form dialog has:
- Model Name
- Target Database / Version, Default Schema and Default Owner / Database User (physical models only). Changing the database converts the model's datatypes (section 10).
- Model Permissions – in a workgroup, for the model's owner or an admin: "Owner: {name}. Changes here take effect immediately." You may select the Read and Update privileges for other members of the Workgroup. Selecting the Update privilege also selects the Read privilege. Only an admin can select the Delete privilege.
"Changes apply to the open model. Nothing reaches the database until you save the model." Every change here is an unsaved change you can undo.
Buttons:
- Apply Changes button – appears once you change something.
- Cancel button – closes the form dialog.
Delete Model button (before you change anything) – click this button, then click the Confirm Delete button under "Delete permanently?". Deletion is permanent. Click the Cancel button to cancel the deletion.

2.7 Closing, and unsaved changes
Click the
Close model icon. If the model has unsaved changes, ERD Designer asks before closing the model, in a form dialog with the title Discard model changes?: "This model has unsaved changes. Closing this model will discard them." (or "Creating a new model…", "Opening another model…", "Importing a model…", "Switching will close this model…"). Click the Cancel button to return to the open model, or click the Yes, Discard button to discard the model changes.
While you are signed in, closing or reloading the browser tab shows the browser's own "Leave site?" prompt.
2.8 Workgroup models and the edit lock
In a workgroup, only one person edits a model at a time. While you have it open with pending changes, you may see a message bar, "Your edit lock expires in {time}". When someone else in your Workgroup saves the model, the bar says "{name} saved changes to this model. Refresh to see changes." Click the Refresh button to load the new version of the model.
3. The canvas
ERD Designer has two modelers. The conceptual modeler (section 4, Advanced plan) draws entities and attributes, independent of any database. The physical modeler (section 5) draws tables and columns for a specific database. This section covers what they share.
3.1 Canvas tabs
The toolbar shows two tabs, each with a count:
- Tables tab (physical) or Entities tab (conceptual) – the model itself.
- Domains & Types tab – the model's domains and types (section 6).
Click a tab to switch to it. The tabs appear only on the Advanced and Workgroup plans.
3.2 Moving around
Pan Mode icon — drag the canvas to move around. Pan mode is the default.
Select Mode icon — drag a selection marquee around objects to select them for movement – In Select Mode dragging draws a selection marquee, and the objects it encircles are selected for movement. After objects are selected they can be moved as a group with a drag-drop action. Holding Shift and dragging also draws a selection marquee.- Zoom – with the mouse wheel, or by clicking the icons at the bottom left: zoom in, zoom out, fit view, and lock.
- The minimap (bottom right) – shows the whole model, each object in its own color. Drag its rectangle to pan, or click a spot to centre the canvas.
- Opening – A model opens fitted to the window.
3.3 Notation
Crowsfeet Notation icon – draws relationship endpoints using crowsfeet notation.
Bachman Notation icon – draws relationship endpoints using Bachman notation.
The choice applies to every relationship on the canvas.
3.4 Selecting, moving, resizing and deleting
- Selecting and moving – Click an object to select it. Drag to move it.
- Resizing – Selecting an object displays its resize-handles. Drag the handles to resize the object.
Grip – Inside an object, a grip ⋮⋮ appears when hovering over an item, like an element, attribute or column. Drag the grip to reorder the item in relation to other items in the object.- Deleting – To delete an entity, table, relationship, type, or domain you need to find the Delete button inside its editor, which you can reach by double-clicking the object.
- Deleting a relationship may remove the FK badge on the child's column, but it will not delete the column itself. The user must explicitly delete the column.
- A relationship drawn automatically resulting from the creation of a Lookup Domain cannot be deleted without deleting the reference to the domain itself.
3.5 Relationships
- Opening the relationship editor – Double-click a relationship to open its editor.
- Handles – Click a relationship to select it. A selected relationship has handles:
- Round handles – drag one at either endpoint to slide the endpoint along an object’s edge;
- Segment handles ("Drag left / right", "Drag up / down") – drag one to move that segment of a relationship. Double-click one to remove the segment's elbows, where they can be removed;
- + handles ("Click to add two more elbows here") – click one to add two elbows to that segment.

3.6 Auto-layout
The Auto-layout control sits at the bottom of the palette and has two parts:
- Auto-layout button – Click it to re-arrange the whole model now into a top-down, parent-to-child model, with every relationship running top-to-bottom where possible.
Auto-layout switch – Click it to turn it on or off:- On – The model is re-arranged after every automated action. For example, after a many-to-many relationship is drawn or after each AI Assist is used, the model will be automatically rearranged.
- Off – The Auto-layout is deactivated. Auto-layout is turned on by default and the setting is remembered by the browser.

3.7 Undo, redo and keyboard shortcuts
| Keys | What they do |
|---|---|
| Ctrl+Z (⌘Z on a Mac) | Undo |
| Ctrl+Shift+Z or Ctrl+Y | Redo |
| Enter | Saves an entry. In a list-of-values field, enter adds a value. In AI Assist, enter sends a message and Shift+Enter makes a new line. |
Undo and redo do not act while you are typing in a field or a form dialog is open. Changes made by the Edit Model form dialog, a conversion, AI Assist or a connected chat are each one undo step.
3.8 Messages
- Error messages – appear in red for 5 seconds.
- Notices – such as an adoption into a SuperType, stay for 8 seconds.
3.9 Names
Every name you type (model names, object names, column names, attribute names, domain names, type names, element names) may use only letters, digits and underscores. Other characters are disabled in these fields. Each database also has its own rules, shown under the name field.
| Database | A name must… |
|---|---|
| Conceptual model | use letters, digits and underscores only, with no spaces or punctuation |
| Oracle | start with a letter; at most 128 characters (30 before 12c R2); folded to upper case |
| MySQL, MariaDB | be at most 64 characters, and not all digits |
| SQL Server | start with a letter or _; at most 128 characters |
| PostgreSQL | at most 63 characters; folded to lower case |
| SQLite | start with a letter or _ |
| Amazon Redshift | at most 127 characters; folded to lower case |
| Google BigQuery | at most 300 characters; must not begin with _TABLE_, _FILE_, _PARTITION, _ROW_TIMESTAMP, __ROOT__ or _COLIDENTIFIER |
| Snowflake | at most 255 characters; folded to upper case |
Tables, indexes, unique constraints, primary keys and relationships share one set of names in a model, with upper and lower case treated alike. Typing a name that is already used results in a message being displayed, "That name is already used by {holder}. Tables, indexes, constraints and relationships must all have different names." The Ok button will remain disabled until an unique name is entered into the name field. Columns in one table must also have unique names.
4. The conceptual modeler
A conceptual model (Advanced plan) models the business: entities, their attributes, how they relate, and SuperTypes over SubTypes. It is independent of any database. When it is ready, transform it into a physical model for the database you select (section 7). Basic and Pro cannot open conceptual models.

4.1 The palette
Entity button – "Drag onto empty canvas to create an entity."
SuperType button – "Drag onto empty canvas to create a SuperType entity with its own grouping container." This creates a grouping container holding the SuperType entity.
SubType button – "Drag inside a SuperType's grouping container to add a SubType that inherits its key." It works only when dropped inside a grouping container, and the SuperType must have a primary key first ("Define a primary key on the parent entity before adding a child.").
Relationship button – "Select this object and then drag from a parent entity header onto a child entity header. You can also drag a parent entity's primary key onto the header of a child entity without selecting this object." It turns off after one relationship.
Many-to-many button – "Drag one entity's header onto another. A new entity is created between them and related to each, and the button releases. Their keys are not copied into it — those are added when the physical model is generated." (4.5)
Surrogate Keys switch – sets how a new entity is identified (4.6).
Auto-layout control – re-arranges the model (3.6).

4.2 An entity on the canvas
- The header – shows the entity's name. Double-click it to open the entity editor.
- Each item – shows an attribute:
- a key symbol for the identifier (primary key);
- AK1, AK2… (silver) badges for alternate keys;
- its name;
- an <M> marker when it is mandatory;
- its conceptual datatype.
- Corners – rounded for an entity that is identified through its parent (the child of an identifying relationship), square otherwise.

4.3 The entity editor
The editor's title is the entity's name, or New Entity. Its tabs are the info tab, the Attributes tab and the Alternate Keys tab.
- info tab:
- Entity Name field (placeholder "e.g. customer");
- Description field ("What this entity represents");
- Data Impression (the Impression File button, as in 5.6) – shown only until you add an attribute of your own;
- Color swatches;
Delete Entity button – deleting a SuperType's own entity removes its grouping container and frees its SubTypes.
- Attributes tab – much like the physical Columns tab:
- Each attribute – the Name, Datatype (the 30 conceptual types, or a domain or type), Size, PK, Mandatory and Default Value fields, and the
More icon. The More icon holds the Description field, the List of values and, from an expanded domain, the Check rule. - There is no FK column, no Auto checkbox, no indexes and no check constraints: those belong to the physical model.
- Mandatory checkbox – selected and locked when the attribute's domain, or its type of one element, is mandatory; its tooltip names which.
- A type of several elements – an attribute on one has no PK or Mandatory checkbox: it can never be part of the key, and each element decides its own Mandatory. The Mandatory column is left out when no attribute shows the checkbox, and the PK column when every attribute is on such a type.
- ⋮⋮ grip – at the start of each row; drag it to move the attribute. When you click the Ok button, the primary key still moves to the top.
- + Add Attribute button – adds one.
- Each attribute – the Name, Datatype (the 30 conceptual types, or a domain or type), Size, PK, Mandatory and Default Value fields, and the
- Alternate Keys tab:
- Other attributes, or combinations, that also identify the entity.
- Each key has a badge (AK1…), a name (default
{entity}_AK{n}) and its attributes; primary-key attributes are not offered. - + Add Alternate Key button – adds one.
- Each alternate key becomes a unique constraint when the model is transformed.


4.4 Relationships (conceptual)
Draw them as in 5.4, with the
Relationship button or by dragging a primary-key item onto another entity's header.
The relationship editor has:
- Relationship Name and Relationship Color – the Relationship Name field and the Relationship Color swatches, as on a physical model.
- Relationship Type:
- Non-identifying radio button ("Child has its own identity", drawn dashed) – This is the default. An optional Attribute name field can be filled in.
- Identifying radio button ("Child is identified through its parent", drawn solid) – The child's identity includes the parent's key.
- Cardinality:
- Parent endpoint – select the 1, 0..1 or N (Many) radio button.
- Child endpoint – select the 0..1, 1, 0..N (Zero or more), 1..N (One or more) or N (Many) radio button.
- Saving with "many" at both endpoints turns the relationship into a many-to-many (4.5).

4.5 Many-to-many relationships
Click the
Many-to-many button and drag one entity's header onto another's. ERD Designer creates an associative entity between them, named {Child}_to_{Parent}_Assignment, and relates it to each with a one-to-many relationship. With the Surrogate Keys switch on it gets an id; with it off, its two relationships are identifying. With the Auto-layout switch on, the model is re-arranged afterwards.
You may see "Drop onto a different entity to create a many-to-many relationship.", "Name both entities before relating them." or "Define a primary key on {name} before relating it."
4.6 Surrogate Keys
The
Surrogate Keys switch decides how a new entity is identified:
- On (the default) – "A new entity is created with a generated id as its identifier, and AI Assist does the same." The entity starts with an attribute
id, type Serial, as its primary key. - Off – "A new entity is created with no identifier — you choose the real-world value that identifies it."
Entities already on the model are not changed. The setting is remembered in this browser.

4.7 SuperTypes and SubTypes
A SuperType is an entity that generalises others, its SubTypes. For example, Transactions over Sales and Orders. It appears as a grouping container with a name tab; double-click the name tab to edit the SuperType entity.
- To make an entity a SubType – drag it into the grouping container, or drag the grouping container's edge over it.
- To release it – drag it out, or drag the grouping container's edge off it. A grouping container cannot be made smaller than its SuperType entity.
When an entity is taken in or released, ERD Designer moves things to match, and an 8-second notice lists what changed, ending "Ctrl+Z undoes this.". For example:
- attributes every SubType shares move up to the SuperType ("Shared attributes moved up to the SuperType: …");
- relationships every SubType shares move to it ("Relationships moved up to the SuperType: …");
- attributes typed differently by different SubTypes are left in place;
- a released SubType gets its attributes and relationships back.
The SuperType must have a primary key before it can take in SubTypes. A SubType takes its key from its SuperType, so it cannot receive another entity's key. The attribute name {supertype}_type is reserved inside a SuperType, because rolling the model up adds that column to say which SubType each row is.
When you transform the model (section 7), you select for each SuperType whether its SubTypes become one combined table or separate tables.
5. The physical modeler
A physical model describes tables for one database: its columns, datatypes, keys, indexes, constraints and relationships. It is what DDL is generated from.

5.1 The palette
The palette is the bar on the left.
Table button – "Drag onto empty canvas to create a table." Dropping it creates an empty table and opens its editor.
Relationship button – "Select this object and then drag from a parent table header onto a child table header. You can also drag a parent table primary key onto the header of a child table without selecting this object." While it is on ("Relationship is on."), tables cannot be dragged, and a dashed relationship follows the pointer. It turns off after one relationship.
Auto-layout control – re-arranges the model (3.6).
On the Domains & Types tab the palette offers the
◆ Domain button and the
▣ Type button instead (section 6).

5.2 A table on the canvas
- The header – shows the table's name in its color. Double-click the header (or the table) to open the table editor. A CK marker (CK2, CK3… when there are several) means the table has check constraints; hover over it to read them.
- Each item – shows a column: its badges, its name, Null or Not Null, and its datatype in italics. A column on a domain or type shows that domain's or type's name in its color; hover to see what it holds.
- Badges:
- PK – primary key (gold).
- FK – foreign key (indigo).
- UQ1, UQ2… – unique constraints (cyan).
- U1, U2… – unique indexes (cyan).
- I1, I2… – indexes (orange).
- Corners – tables have rounded corners.


5.3 The table editor
Double-click a table's header. The editor's title is the table's name, or New Table. Its tabs are the info, Columns, indexes, Unique Constraints and Check Constraints tabs. On a new table, every tab but the info tab is disabled until the name is saved.
At the bottom are the Cancel button and the Ok button. Clicking the Cancel button on a new table removes it. The Ok button is disabled while a name clashes or a column name repeats. Errors appear in a red bar and clear after 10 seconds; an error on clicking the Ok button takes you to the tab concerned.
info
- Table Name field – Placeholder "e.g. customers". Follows the rules in 3.9.
- Description field – "What this table holds". Written into the database as a comment if you select that when generating DDL.
- Data Impression – the Impression File button adds columns from a CSV file (5.6). It is disabled until the table has a name ("Name the table first"). After you use it, a line reads "Data: {file} — {n} rows", with a Remove button. It is shown only until you add a column of your own.
- Color – 11 swatches.
Delete Table button (existing tables only) – This deletes at once, without asking; Undo restores it.
On a new table, clicking the Ok button on the info tab saves the name and moves to the Columns tab.

Columns
Each column is a row. Hover over a column heading to see what it means.
- Name field – Placeholder "Column name". A repeated name shows "Another column is named "{name}". Each column needs its own name."
- Datatype list – The database's own types, sorted. On Advanced, when the model has domains or types, the list is grouped under Domains, Types and Datatypes; selecting a domain or type links the column to it. A datatype that the model's database version does not have is not offered, for example JSON and VECTOR on SQL Server before 2025. On PostgreSQL, CITEXT, HSTORE and LTREE (PostgreSQL's own extensions), GEOMETRY and GEOGRAPHY (PostGIS) and VECTOR (pgvector) come from extensions: the generated DDL creates the extension first.
- Size:
- Length field, or Length or MAX, where the type allows MAX;
- Prec field (precision, or fractional-second digits for a time type);
- Scale field.
- Arguments field – for a type whose argument is not a size: a VECTOR's dimensions (768; on Snowflake FLOAT, 768; on Oracle 768, FLOAT32), a PostGIS GEOMETRY's shape and SRID (Point,4326), or a Snowflake MAP's key and value types (VARCHAR, NUMBER). Where the database refuses the type without it (VECTOR on SQL Server, MariaDB and Snowflake; MAP on Snowflake), the field is outlined in red and the Ok button stays disabled until you fill it in.
The size is empty for types that take neither. On a domain, the size comes from the domain ("Set by the domain {name}").
- Auto checkbox (auto-increment) – The database assigns each new row the next number. It is offered only on a numeric primary key, and one per table. On PostgreSQL selecting it changes the type to SERIAL. The column takes no default. It is not offered:
- on SQLite, which numbers an INTEGER PRIMARY KEY by itself ("type the key INTEGER instead");
- on BigQuery, which has no auto-numbered keys;
- on a foreign key;
- on Oracle before 12c ("Choose 12c or later in Edit Model to use it").
- PK checkbox – The column is part of the primary key. A primary key is always Mandatory.
- FK checkbox – Read-only: "Foreign key — set by the relationship that maps this column". A column becomes a foreign key by being mapped in a relationship (5.5).
- Mandatory checkbox – NOT NULL. Always selected on a primary key, on a column with a default, on a mandatory domain, and on a mandatory type of one element; on a domain or type it is locked. Unselecting it while a default is set shows "Fields with default values must be mandatory."
- Default Value field – A value, or a function such as SYSDATE, used when none is supplied. Typing a default makes the column Mandatory. Not available on an auto-increment key, and on a domain column it shows the domain's default.
More (⋯) icon – When the column has allowed values the button shows ≡ and their count. Clicking it opens a panel with:- Description field – for the column.
- List of values – Type a value and press Enter or click the Add value button; each value is a chip with
×. The generated DDL adds CHECK ({column} IN …)for them. A list is not available where the database cannot hold a CHECK (Redshift, BigQuery, MySQL before 8.0.16, MariaDB before 10.2.1); there ERD Designer says to keep the list in a lookup table instead and offers the Remove the list button. - Check rule – shown when a domain was expanded onto the column.
- ON DELETE and ON UPDATE lists – on a foreign key. The options depend on the database:
- PostgreSQL and SQLite – CASCADE, SET NULL, SET DEFAULT, RESTRICT, NO ACTION.
- MySQL and MariaDB – all but SET DEFAULT.
- SQL Server – all but RESTRICT.
- Oracle – ON DELETE CASCADE or SET NULL, and no ON UPDATE.
- Redshift, BigQuery and Snowflake – none, so these settings are hidden.
SET NULL is offered only on a nullable column, and SET DEFAULT only on a column with a default.
Delete column icon – If a relationship uses the column, it asks "{column} is involved in a relationship {name} between {A} and {B}. Do you want to remove the relationship?" Click the Yes — remove the column and the relationship button or the No — keep the column button.- + Add Column button – Disabled while a column has no name.
- ⋮⋮ grip – at the start of each row; drag it to move the column. When you click the Ok button, primary-key columns still move to the top.


When you click the Ok button:
- renames carry through to indexes, constraints, checks and relationships;
- primary-key columns move to the top;
- a relationship's cardinality follows the nullability of its foreign-key columns.
indexes
- Each index has a badge (U1, I1…), a name (default
{table}_I{n}, or{table}_U{n}when unique), a Unique checkbox, a
Delete index icon and its columns. - Click the + Add Index button to add one.
- Redshift, BigQuery and Snowflake have no indexes on ordinary tables, so the button is disabled and none is written to their DDL.

Unique Constraints
- Each constraint has a badge (UQ1…), a name (default
{table}_UQ{n}), a
trash button and its columns. - Click the + Add Unique Constraint button to add one.
- BigQuery has no unique constraints. A constraint left with no columns is dropped when you click the Ok button.

Check Constraints
- Each check has a badge (CK1…), a name (default
{table}_ck{n}), a
trash button and its rule. Type the rule between CHECK (and), for exampleend_date >= start_date. - Insert column… list – puts a column's name where the cursor is.
- Click the + Add Check Constraint button to add one.
- Not available on Redshift or BigQuery, nor on MySQL before 8.0.16 or MariaDB before 10.2.1 ("Choose 8.0.16 or later in Edit Model to use one").
- A column used by a check cannot be removed until the rule is changed. Two checks with the same rule are refused.

Column lists (indexes and unique constraints)
- Columns are numbered in order.
- Drag the
⋮⋮ grip to change the order. - Select "— remove from {index or constraint} —" to take a column out, and click the + Add a column… button to add one.
5.4 Drawing relationships
A relationship runs from a parent table (the one with the primary key) to a child table, which gets foreign-key columns. There are three ways to draw one:
- The Relationship button – Click the
Relationship button in the palette, then drag from the parent's header onto the child's header. - Dragging a key – Drag a PK item of the parent onto the child's header. Dropping it on the parent's own header makes a self-reference, whose column is named
parent_{key}. - Linking an existing column – Drag an existing FK item of the child onto the parent's PK item.
New foreign-key columns are named {singular parent}_{key} (or the key's own name when it already begins with the parent's name, such as Book_ID); a second relationship between the same pair numbers it (customer_id2). The relationship editor then opens.
You may see:
- "Give {table} a primary key before relating it."
- "Only primary key columns can be dragged to create a relationship."
- "Column types must match to create a relationship."
- "That relationship already exists — {name}. Edit it instead of drawing it twice."
On a physical model a one-to-one relationship is drawn dashed, and every other relationship solid.
5.5 The relationship editor (physical)
Double-click a relationship, or finish drawing one. The Edit Relationship form dialog has:
- Relationship Name field – It must be unique in the model (3.9). This name becomes the foreign key's name in the DDL.
- Relationship Color – 11 swatches.
- Cardinality – Two columns, labelled with the parent's and the child's names.
- Parent endpoint – select the 1 (Exactly one) or 0..1 (Zero or one) radio button. Selecting Exactly one makes the foreign-key columns Not Null, except on a self-reference.
- Child endpoint – select the 0..1 (Zero or one) or 0..N (Zero or more) radio button. Selecting 0..1 adds a unique constraint on the foreign-key columns, making it one-to-one; going back to 0..N removes it. Not done on BigQuery.
- Column Pairs – which parent column each child column refers to.
- For a new relationship – "All primary key columns must be mapped. Only columns with a matching type are available."
- For an existing one – each pair can be changed or deleted (the
Delete this column pair icon), and the + Add Column Pair button adds one.
- Delete Relationship, Cancel and Ok buttons – Clicking the Cancel button on a new relationship removes the columns it added.

5.6 Impression File: columns from a CSV file
On the table editor's info tab, the Impression File button reads a CSV file on your computer and adds a column for each of its columns. The file is never sent to ERD Designer: only an impression of its columns is made, in your browser.
The Impression File — {file} · {n} rows form dialog has:
- First row is a header checkbox (selected by default).
- When the table has a one-column key:
- Use a surrogate for each row radio button (the default), or
- Use this file column as the key radio button – with a list of the file's unique columns. The selected column replaces
id. If none qualifies: "No column is unique, so none can be the key."
- For each file column:
- its name, which you can edit;
- its inferred datatype (a number or date type, which you can change to text);
- select Null or Not Null;
- select Unique, Not unique or Primary key.
- Preview – the first 8 rows.
- Close and Save buttons – The Save button is disabled while a column has a problem, such as "Give this column a name." or "{name} is already a column here."
After saving, the table remembers the file's name and row count. When you generate DDL, you can select the file again to add its rows as INSERT statements (9.5). A table of 10,000 rows or more is created without its data.
6. Domains and Types
Domains and types are part of the Advanced plan. A domain is one datatype with its rules (for example email_address: VARCHAR(255), mandatory, must contain @). A type is a group of elements, each with its own datatype (for example address: street, city, postcode). Define them once and use them on many columns or attributes: select them in the Datatype list.
6.1 The Domains & Types tab
Click the Domains & Types tab on the toolbar. The palette offers:
◆ Domain button – "Drag onto the canvas to create a domain: one datatype with its rules."
▣ Type button – "Drag onto the canvas to create a type: one or more elements, each with its own datatype."
Each domain or type is a card, «domain» or «type», showing what it holds. Double-click a card to edit it, and drag a card to move it. Backspace does not delete, here or on the other tab: click the
Delete Domain button or the Delete Type button in the editor, which is disabled while anything uses it. On a type card, hover over an element and drag its ⋮⋮ grip to change the order of the elements.
Every editor has a Used by list, linking to each column, element or domain that uses it, or "Nothing uses this domain."

6.2 The domain editor
- Name field – Placeholder "e.g. email_address". It cannot repeat another domain's or type's name, or a datatype's.
- Rule (conceptual models) – select the List of Values, Check Rule or Lookup radio button.
- Datatype and Size fields – A database type, or another domain: a domain can be built on a domain, and then inherits its type, size, mandatory setting, default, values and rules. A list on the new domain keeps only values in both lists.
- Mandatory checkbox ("Mandatory (NOT NULL)" on a physical model) – Inherited and locked when the domain it is built on is mandatory. A domain's Mandatory checkbox never selects the Mandatory checkbox of a type element on it: the column made from that element, and a Lookup relationship through it, follow either one.
- Transmute to Columns checkbox (conceptual) – "The Transformation never creates this domain in the database: each column that uses it gets its rules." It is selected for you when the domain it is built on has it selected.
- Default Value field
- List of Values – a chip list, as in 5.3.
- Check Rule field:
- Type
VALUEfor the value being checked, for exampleVALUE LIKE '%@%'. - Examples – shows common rules:
VALUE > 0: a positive numberVALUE <> 0: any number but zeroVALUE BETWEEN 1 AND 100VALUE >= 0 AND VALUE <= 1: a fractionVALUE LIKE '%@%': contains an @VALUE NOT LIKE '% %': no spacesVALUE = UPPER(VALUE): capitals only
- The Ok button stays disabled until the rule is complete. For example, it shows "Write VALUE for the value being checked", "The check rule leaves a quote open." or "The check rule needs a comparison, such as =, <>, >, <, ~, LIKE, BETWEEN, IN or IS."
- Not available where the database has no CHECK.
- Type
- Lookup (conceptual) – the Lookup Entity list (an entity with a one-attribute key) and the Display Attribute list, plus the Mandatory checkbox. "Every attribute on this domain is drawn as a relationship from {Entity}. The Transformation makes it a foreign key to {Entity}.{key}." Those relationships are drawn for you, named {entity}_to_{lookup entity}, and cannot be deleted. Double-click one to open the relationship editor with only its Relationship Name field, its Relationship Type (Identifying is not offered on a SubType, and is fixed when the attribute is part of the key) and its Foreign Key Attribute Name field. Its cardinality is shown, not edited: exactly one when the attribute, its type element or its domain is mandatory, and zero or one otherwise.
- Description field
Saving a domain updates every column that uses it, and every domain built on it.

6.3 The type editor
- Name field – Placeholder "e.g. address".
- Transmute to Columns checkbox (conceptual) – "The Transformation always makes this type physical table columns." It is selected for you when an element uses a Lookup domain or a transmuted domain. It clears itself again when that element stops using such a domain, unless you selected it yourself.
- Elements – each element's Name, Datatype (a type or a domain), Size, Mandatory and Description fields, and the
Delete element icon. The + Add Element button adds one. A type needs at least one element, and element names must be unique. Drag an element's ⋮⋮ grip to change their order. Each element's Mandatory checkbox is its own: a mandatory domain does not select it. On a physical model, a type such as VECTOR has an Arguments field, and the Ok button stays disabled while one the database requires is empty. - Description field
A column on a type takes no default of its own. When the type is written out into columns, each element becomes a column named {column}_{element}, and each element's Mandatory checkbox decides whether its column is Not Null.

6.4 How each database holds them
When DDL is generated or a model is transformed:
- PostgreSQL – creates real domains and types (
CREATE DOMAIN,CREATE TYPE). - Oracle – creates real domains (from 23c) and object types.
- SQL Server – makes a domain an alias type with one bound rule and default.
- Elsewhere – they are written out into the columns that use them.
The Transformation Settings form dialog asks whether to keep them or write them out, wherever the target can hold them (section 7).
7. Transforming a conceptual model into a physical model
Transforming a conceptual model into a physical one is part of the Advanced plan. Save the conceptual model first. ERD Designer refuses an unsaved one ("Save this model before transforming it.") and one with unsaved changes ("You have unsaved changes. Save or close the model before transforming it."). Then click the
Transform to a physical model icon on the toolbar.
The Transformation Settings form dialog says "Generates a physical model from "{name}". The conceptual model is left unchanged." Its options, from top to bottom:
7.1 Target and defaults
- Target database and Version lists – The same lists as the New Model form dialog (2.2).
- Default schema and Default owner fields – both optional.
7.2 SuperType / SubType handling
Asked when the model has a SuperType. There is no default: you must select one before the OK button is enabled.
- Combine SubType Entity attributes into one table radio button – "Each SubType's attributes are merged into the parent, and the child tables are dropped. One table per grouping container." The combined table gets a
{supertype}_typecolumn saying which SubType each row is. - Migrate SuperType attributes into multiple SubType tables radio button – "The parent's attributes are copied into every child, and the parent table is dropped. One table per child."

7.3 Domains and types
Asked when the model uses domains or types, and the target database can hold them:
- Keep them as {database} domains and types radio button – "Each is created once in the database and the columns use it by name."
- Expand them into columns radio button – "A domain's datatype and rules are written onto each column that uses it; a type becomes one column per element, named column_element."
Where the target cannot hold them, ERD Designer says they will be written out into the columns that use them. The section also names each type that is always written out as columns, and why: an element on a Lookup domain (only a column can hold the foreign key), an element on a domain selected Transmute to Columns, or the type's own Transmute to Columns checkbox.
7.4 How should each list of values be implemented?
One card for each attribute with a list of values, headed "{Entity}.{attribute}" and showing its values. A domain's list is asked once for the domain. Under Combine, the generated {supertype}_type list is asked here too. For each, select:
- Lookup table radio button (the default) – "Its own table with a surrogate id; the column becomes a foreign key. Values can change without a schema change." Then select what keys it:
- Surrogate id radio button – keyed on id, with the code beside it; the owning table carries
{attribute}_id. - The code itself radio button –
{attribute}_codeis the key, so the owning table reads without a join.
- Surrogate id radio button – keyed on id, with the code beside it; the owning table carries
- CHECK constraint radio button – "The values stay on the column, enforced by CHECK (col IN …)." Offered on Oracle, SQL Server, SQLite, PostgreSQL, MySQL from 8.0.16, MariaDB from 10.2.1, and Snowflake.
- ENUM type radio button – "The values written into the column's own type." Offered on MySQL, MariaDB and PostgreSQL, and never for a domain.
Where the database can hold no list on the column itself (Redshift, BigQuery), a lookup table is the only choice.
7.5 Options
- Plural table names checkbox (selected by default) – "Each entity's table takes the plural of its last word: order → orders, order_item → order_items. Foreign keys keep the singular (order_id)."
- Re-arrange on the grid checkbox (unselected by default) – "Place every table so its relationships run vertically straight." Without it, the conceptual model's arrangement is kept exactly.
"Identifying relationships migrate the parent's key into the child as part of its primary key; non-identifying relationships migrate it as a foreign key."
Click the OK button (it reads Transforming…) or the Cancel button.

7.6 The result
A new, unsaved physical model opens with a suggested name; save it to keep it. The conceptual model is unchanged.
If an attribute's datatype is one the target database refuses without its argument (a VECTOR with no dimensions on SQL Server, MariaDB or Snowflake, or a Snowflake MAP without its types), the Transformation is not done, and a message names each attribute. Give it its argument and transform again.
If anything is worth knowing, a panel titled "Transformed, with {n} notations and {n} problems" lists it. Click the
× icon to dismiss it. Problems (red) are work that was not done. Notations (yellow) are things done on your behalf. Each attribute's Alternate Keys become unique constraints named {table}_UQ{n}.
8. Importing a schema (reverse engineering)
Click the Import DDL / Reverse Engineer card on the start screen. The Import DDL form dialog, "Build a physical model from a CREATE TABLE script.", has three tabs:
8.1 Paste DDL (every plan)
- DDL script field – paste CREATE TABLE, ALTER TABLE … ADD CONSTRAINT and CREATE INDEX statements, up to 2 MB. Anything else is skipped and reported. A counter shows "{n} lines · {size} KB".
- Model Name field – for example "orders".
- Source Database list – the database the script is written for. It also sets the model's column types.
Click the Import button.

8.2 From a DDL file (every plan)
- DDL file – select a
.sql,.txtor.ddlfile, or drag one onto the DDL file field. Up to 2 MB. - Model Name field – is taken from the file's name unless you type one.
- Source Database list – as above.
Click the Import button. ERD Designer refuses what is not a SQL script: a file over 2 MB ("this expects a schema script, not a data dump"), a Pages, Numbers, Word, Excel, PDF or RTF document, or any binary file.

8.3 Connected database (Pro and up; needs the Agent)
This tab reads a live schema through the ERD Designer Agent on your computer (section 16). It opens by itself on Pro and up.
- ERD Designer looks for the Agent – "Looking for an Agent on this computer…". If none answers, see 16.9.
- Database list – the databases your Agent offers, each as "{name} {type} · This computer". One that is not running or not readable is greyed out, with the reason in its tooltip. The Refresh button asks the Agent again.
- Password – if the database stores no password in the Agent: "Password for "{name}" — used once, never stored", then click the Connect button.
- Schema list – each with its table count. Selecting a schema imports it at once, named after the schema. An empty schema cannot be selected.
- Not listed? Enter its details → button – opens the Connect by hand form, for a database your Agent has but does not list. Type in the Server or IP, Database name, Schema, User name and Database type fields, then click the Read this schema button. No password is asked for: the Agent supplies its own.
- Agent settings ({host}:{port}) button – sets where the Agent listens (16.8).


8.4 What happens
The tables are laid out with every relationship drawn straight. The model opens unsaved; save it to keep it.
If there is anything to know, the Imported summary lists it ("{n} things to know about this import"); click the Open Model button.
A script or database that uses the same name twice (for example a table and an index) is refused, with the list of clashes, because a model needs one name per object (3.9). Change the names in the script or the database, then import again.
8.5 From the website
You can also paste a script on the home page (https://erddesigner.com/#import): select the Source database, optionally type a Model name, and click the Open in ERD Designer button. If you have no account, you sign up free; either way you land on the model. The script is held for 15 minutes and deleted from ERD Designer's server the moment you open it. If it has expired: "That pasted script has expired or was already opened. Paste it again from Import DDL."
9. Generating a schema (forward engineering)
On a saved physical model, click the
Generate DDL for this model icon on the toolbar (Pro and up). Unsaved changes are fine: the DDL is built from what is on screen. A model that has never been saved must be saved first.
The Generated DDL form dialog shows "{n} statements for {database} · schema {schema}", and "● Agent connected" once your Agent has listed its databases.
9.1 Choosing a database (optional)
Selecting a database is needed only to apply the DDL, or to work out the differences.
- Database field – Your Agent's databases, as "{type} - {name}". A database that is not running, is read-only, or is the wrong type for this model is greyed out, with the reason. The Refresh button asks again.
- Schema field – Each with its table count.
Your selection is remembered for this model in this browser. If no Agent answers, the form dialog says why and offers the What is an Agent?, Install Agent, Start Agent, Agent Settings or Check Again button (16.9).
9.2 Which script do you want?
- Run the full script button (the default) – CREATE statements for everything.
- Include DROP IF EXISTS checkbox – when selected, adds a DROP TABLE IF EXISTS … CASCADE before each CREATE, so the script can be run more than once. This destroys any existing table of the same name, and its data.
- Apply differences only (needs a database) button – only the statements needed to make the selected schema match the model.
- Add comments to the database checkbox – when selected, writes each table's and column's description as its comment. It is not shown on SQLite, which has no table or column comments. A transformed model starts with it unselected.
Once a database and schema are selected, the form dialog shows the exact statements the Agent will run:
- "{n} statements will run in one transaction:" on PostgreSQL, SQL Server, SQLite and Redshift;
- or a warning on Oracle, MySQL, MariaDB, BigQuery and Snowflake: these commit each DDL statement, so a failure partway leaves the earlier statements applied.
"✓ Already up to date — the database matches the model. Nothing would run." means there is nothing to do.
When the script is generated again (after you select a checkbox, or while the Agent works out a new preview), the previous script stays on screen, dimmed, under "Generating…" or "Working out exactly what will run…", until the new one replaces it. The Copy DDL, Download File and Apply buttons wait until it does.

9.3 Objects not in the model
If the schema already holds tables, types or domains that are not in the model: "⚠ {schema} already holds {n} objects that are not in this model". Their DROP statements are shown in red. Click the Remove them button or the Keep them button; Apply waits until you decide, and the Change button lets you decide again. A table whose name differs from one of the model's only in case (Customers beside customers) is listed here too, and the apply never changes it unless you remove it.
9.4 Notices
- "{n} things the generator could not do:" lists what the database cannot express. It is refused with a reason, never written as SQL that would fail.
- "{n} destructive statements withheld. Dropping a table or column is never generated unless it is asked for."
- A model that uses a name twice gets no DDL: "This model uses {a name} more than once, so no DDL is generated…", with the list. Rename them in the model.
- A datatype the model's database version does not have gets no DDL: "{database} {version} does not have these datatypes, so no DDL was generated for: …". Set the version in the Edit Model form dialog, or change the column's datatype.
- A datatype missing an argument its database requires (a VECTOR's dimensions on SQL Server) gets no DDL: "{database} needs the datatype's argument for: …". Fill in its Arguments field.
- On PostgreSQL, a script whose columns use an extension type (CITEXT, PostGIS's GEOMETRY, pgvector's VECTOR) begins with CREATE EXTENSION IF NOT EXISTS. If your database role cannot create the extension, the Agent says so before anything runs: "The script needs a PostgreSQL extension the database role "{role}" cannot create: …". Ask your database administrator to create it.
9.5 Table data
If a table was given an Impression File (5.6), the Table data section lists it. Click the Re-select file to load data. button and select the same file. It is read on your computer, and its rows go only to your Agent, which adds them to the script as INSERT statements. Related tables are loaded before the tables that refer to them. A table of 10,000 rows or more is created without its data.
9.6 Copying, downloading and applying
- Copy DDL button – copies the script shown.
- Download File button – saves it as
{model}.sql, or{model}.diff.sqlfor the differences. - Apply to Database button – becomes the Apply DDL to {database} · {schema} button once you have selected a database and schema, and runs the statements through the Agent. Nothing runs until the statements are on screen and you click it. It needs Pro or above and a database you have given Write access in the Agent.
If something is still missing when you click the Apply button, nothing is applied. A notice names the first missing step, with buttons to fix it, for example:
- "The Agent is not running" (the Start Agent button);
- "Choose the database to apply to" (the Use {name} button);
- ""{name}" needs its password" (the Enter the password button);
- "None of the Agent's databases can take this script".
9.7 Results
- "Applied {x} of {n} statements.", then "✓ Verified — the database now matches the model." The Agent reads the schema back to check.

- "⚠️ Still different after applying:" lists what still differs.

- On a database that commits each statement: "this database commits each DDL statement, so these changes cannot be rolled back."

- On failure:
- "Could not connect to "{name}" — nothing was changed";

- "The apply failed". On a transactional database, everything was rolled back;

- an "already exists" error suggests the Apply differences only button, or the Include DROP IF EXISTS checkbox.

After an apply, the model's Default Schema field becomes the schema you selected, as an unsaved change. Click the Close button to close the form dialog.
10. Converting a physical model to another database type
Converting is part of the Pro and Advanced plans. To move a physical model to another database (for example Oracle to PostgreSQL):
- Click the
model's name on the toolbar to open the Edit Model form dialog. - Select a new database in the Target Database / Version field, and click the Apply Changes button.
- Where the new database offers more than one answer for some types: "{database} offers more than one conversion for some of this model's types. Choose before converting:". Each question is a datatype and the number of columns using it, with a radio button for each answer; select one. Click the Continue button.
- Review – "{n} columns will be retyped for {database}:", listing each "table.column: from → to", with any warnings (⚠). The Change the conversion choices button goes back a step.
- Click the Apply Conversion button.



The conversion becomes an unsaved change you can undo. Only datatypes, and the defaults that go with them, change. Names, keys, nullability and lists of values are left alone.
A type with no equivalent is kept, with a warning, never silently replaced. A 64-bit key never becomes a 32-bit one. Text on SQL Server is Unicode. Where the target loses something, such as a time zone or fractional seconds, a warning names the column.
The conversion pages at https://erddesigner.com/convert show each of the 72 directions worked on a sample schema.
11. Reports
Clicking the
Model report (PDF) icon on the toolbar (Pro and up) builds one PDF from the model on screen, unsaved changes included, and opens it in a new browser tab. There are no options to select. The report contains:
- a title page ("Physical Data Model" or "Conceptual Data Model") and a contents page;
- the model on its own page;
- each table or entity from a new page, with its description, its columns or attributes (with descriptions and lists of values), keys and relationships;
- for a physical model, each table's DDL;
- "Page X of Y" on every page.
The page size is Letter in the US, Canada, Mexico, the Philippines and several Latin American countries, and A4 elsewhere.
If your browser blocks the new tab: "The browser blocked the report's new tab. Allow pop-ups for this site and try again." A model that uses a name twice gets no report, because the report includes each table's DDL (3.9).
12. Exporting Model PDFs
Clicking the
Export to PDF icon on the toolbar (Pro and up) saves the model as a PDF file. The Export PDF form dialog shows:
- Preview – the model cut into A4 landscape pages, numbered column,row. Empty pages are marked "skip" and left out.
- Scale field – from 10% to 500%, which changes how many pages the model takes.
- Page count – for example "7 pages (1 empty skipped)".
Click the Download PDF button to save erd-model.pdf, or the Cancel button. When the Domains & Types tab is showing, that canvas is what is exported.

13. Printing Models
Clicking the
Print Model icon on the toolbar (Pro and up) opens the same form dialog as Export, titled Size Print Model, with the same preview, Scale field and page count (section 12). Set the scale, then click the Print PDF button: ERD Designer builds the pages and opens your browser's print dialog, where you select the printer. Click the Cancel button to close it.
14. AI Assist
AI Assist is ERD Designer's built-in AI. Describe a change in plain English, typed or spoken, and it edits the model while you watch. On a conceptual model it can also interview you about your business and build the model from your answers.
What it needs:
- the Pro or Advanced plan;
- a one-time AI Access purchase (17.3), which includes 100 assists;
- more assists, bought in packs of 100 that never expire.
One assist is one turn. Retrying a failed turn is free.
14.1 Opening it
Click the
AI icon on the toolbar. With AI Access and no chat connected, the AI Assist panel opens on the right; the canvas stays usable beside it.
The panel's header shows:
- Title – "AI Assist", then "Conceptual model" or "Physical · {database}".
- Your balance – "{n} used, {m} remaining."
The Clear history button ("Start a new conversation. The model is untouched.") asks "Clear?" with the Yes and No buttons. Click the
× icon to close the panel.
14.2 Starting
- On a conceptual model – select how to work: "How would you like to work?"
- Start an Interview button – the assistant asks the questions and builds the model from your answers. The first question costs one assist.
- Start AI Assist button – you direct and it makes the changes. Nothing is spent until you ask. It greets you with "AI Assistant: How can I help you?"
A note reminds you whether the
Surrogate Keys switch is on: with it on, every entity is given a generated id; with it off, each entity is identified by a value the business already uses. - On a physical model – the panel opens ready, spending nothing: "Tell me what to change — add a table, rename a column, re-key something — and I'll do it. I'll only ask when a request is ambiguous."

14.3 Talking to it
- Message field – Type in the field ("What should I change?", or "Your answer…" in an interview) and click the Send button or press Enter. Shift+Enter makes a new line.
- Speak button – appears where your browser supports dictation:
- ● Speak – click it to start dictation.
- … Wait… – means the microphone is not live yet.
- ● Talk… – means it is listening.
- ■ Stop listening – click it to stop.
Dictation only fills the field: nothing is sent until you click the Send button.
- While it works – "Thinking · {n}s".
- After each turn – THIS TURN CHANGED lists what was done, and WORTH CHECKING lists anything to look at.
14.4 What it can do
It can:
- add, rename and delete entities or tables, attributes or columns;
- set datatypes, keys, mandatory, defaults and lists of values;
- create relationships;
- create SuperTypes and move SubTypes in or out of them;
- add unique constraints;
- define, change and delete domains and types, including Lookup domains and a type's elements one at a time, and use them on columns or attributes.
It follows the
Surrogate Keys switch and the Auto-layout switch.
14.5 Undo, saving and the transcript
- Undo – Each turn is one undo step. A step you undo on the canvas is struck through in the conversation and tagged undone.
- The transcript – The conversation is saved with the model, so reopening the model carries on where you left off.
- Saving – Nothing is saved until you save the model. At the end of an interview: "This is not saved yet — use Save if you want to keep it."
14.6 When something goes wrong
- A failed turn – shows the reason with the Try again button, which resends it free.
- Out of assists – "No AI assists remaining for this billing period." Click the Buy more assists button. Your message is kept.
- No AI Access – "AI Assist needs the one-time AI Access unlock." Click the Get AI Access button.
- In a workgroup without AI Access – "A workgroup admin can add it from Choose a Plan."
- The AI service is down – "AI Assist is unavailable right now. Nothing was sent and no assist was used."
The Connect Claude or ChatGPT panel appears at the top of the AI Assist panel when you have no AI Access or no assists left. When you have assists, AI Assist is offered instead: two AIs never drive the canvas at once.
15. Using ERD Designer with Claude or ChatGPT
Every plan, Basic included, can connect Claude or ChatGPT to ERD Designer. The conversation runs on your own Claude or ChatGPT account, not on AI Assist. Some changes still need a plan: generating DDL needs Pro, and conceptual models need Advanced.
15.1 Adding ERD Designer to your chat (once)
- Claude – Settings → Connectors → click the Add custom connector button. Type "ERD Designer" in the name field, type https://erddesigner.com/mcp as the address, and leave sign-in off. Approve the tool permissions.
- ChatGPT – Settings → Apps & Connectors → developer mode → click the Create button, with the same address and no authentication.
In ERD Designer, the AI panel's Connect to Claude or ChatGPT section shows these steps with the address and a Copy button. If you can, place the chat window beside the ERD Designer window, so you can see both.
15.2 Starting a new design from the chat
Ask, for example: "Design a database for a small veterinary clinic and show it in ERD Designer." The chat gives you a link (erddesigner.com/d/DIA-…). One click opens the design in ERD Designer, signing you up free if you have no account, saves it to your account and connects the chat to it.
- A link works once – within three days. If it has expired or been used ("That design link has already been opened or is expired."), ask the chat to propose the design again.
- A name already taken – is numbered: "Name (2)".
15.3 Connecting to a model you have open
- Open the model, then click the
AI icon on the toolbar. The Connect Claude or ChatGPT panel shows "Not connected". - Click the Get a connection code button. A code appears, and a sentence is copied for you: "Connect to ERD Designer with code {CODE}." (The Copy sentence button copies it again.)
- Paste it into the chat. The code works once and expires in 10 minutes; the New code button gives another.


When the chat connects, the panel says "Connected": "Talk to {Claude or ChatGPT} in its own window. Each change it makes appears here as one undo step, and nothing is saved until you save." The Last change section shows the latest change. Click the
× icon to close the panel; the connection stays.
15.4 Going back to a saved model from the chat
Ask the chat to open a saved model. It gives you a link. Opening it asks first: "Open "{name}" with {Claude or ChatGPT}?" "If you agree, {Claude or ChatGPT} can read and change the open model, and open your other models, until you disconnect." Click the Open and connect button, or the Cancel button.
If it cannot find the name, it lists your models to select from.
15.5 What a connected chat can do
It can:
- read and change the open model;
- on Advanced, create, change and delete domains and types, including Lookup domains, a type's Transmute to Columns, and a type's elements one at a time;
- list your models, open one, save it and close it;
- import a DDL script, or a live database through your Agent, into a new model;
- convert the model to another database, asking you its questions;
- generate DDL (Pro);
- transform a conceptual model (Advanced);
- read the AI history;
- tell you your plan and list the plans;
- open the Choose a Plan page when you ask;
- read your Agent's settings, and explain how to set the Agent up.
It cannot:
- delete a model;
- export a PDF;
- change the Agent's settings.
Every change is one undo step and is not saved until you or the chat saves. Never type a password into the chat: credentials stay in ERD Designer's own forms and in the Agent.
15.6 Disconnecting, and when a connection ends
Click the Disconnect button in the panel to end the connection. A connection also ends:
- after two hours without use;
- when you connect again;
- when you switch between your own account and a workgroup;
- when your subscription moves to another computer;
- when your plan no longer includes it;
- whenever ERD Designer is updated ("…because ERD Designer restarted. Get a new code and give it to the chat.").
The Use AI Assist instead button, shown when you have AI Access, disconnects the chat and opens the AI Assist panel.
15.7 Troubleshooting
| What the chat says | What to do |
|---|---|
| The design link has expired or was already opened | Ask the chat to propose the design again. |
| The code is not valid or has expired | Click the New code button, and give the chat the new one. |
| ERD Designer is not open, or did not answer | Bring the connected ERD Designer tab to the front (browsers pause background tabs), then ask again. |
| The connection has ended | Get a new code and connect again. |
| Your plan does not include something | See the Choose a Plan page. |
| Adding the connector fails at a sign-in step | Remove it and add it again with no authentication. |
16. The ERD Designer Agent
The Agent is a small free program you run on your own computer. It lets ERD Designer, in your browser, read a schema from one of your databases and apply DDL to it, without your database password ever leaving your computer. A web page cannot connect to a database, and ERD Designer's servers cannot reach databases on your computer or network; the Agent closes that gap.
You do not need it to draw models, import a DDL file, or generate, copy and download DDL. It is needed only to work with a live database directly, which is a Pro and Advanced feature.
16.1 What it can and cannot do
It can:
- list the schemas in a database you add;
- read a schema's structure (tables, columns, keys, indexes, relationships) so ERD Designer can draw it;
- apply DDL to the schema you select, when you click the Apply button;
- load table data from a CSV file you select (9.5);
- keep a log of every statement it sends.
It works with all nine databases.
It cannot:
- connect to ERD Designer or anyone else: the only connections it opens are to the databases you add. It does not check for updates or send usage data;
- be reached from another computer: it listens on this computer only (127.0.0.1);
- read the data in your tables: it reads structure only, never rows;
- send database credentials to ERD Designer, which sees only a database's short name, its type and whether it is running;
- change a database you have not allowed it to: every database is added read-only;
- do more than your database user can;
- run when you have quit it: it installs no background service.
Three separate checks stand between a click in ERD Designer and a change to your database:
- You see the exact statements and click the Apply button.
- The Agent's settings say which databases this computer may write.
- Your database's own permissions.
Each request also carries a short-lived signed pass for one database and one operation, which the Agent checks without contacting anyone. Only ERD Designer's own pages can use it.
16.2 Installing it
Download it from https://erddesigner.com/agent, or from inside ERD Designer (the Install Agent button).
- Mac – a signed and notarised installer (.pkg). Open it and follow the steps. ERD Designer Agent goes into your Applications folder.
- Windows – a signed installer (.exe). It asks whether to install for Only for me or Anyone who uses this computer (click one of these buttons), and adds ERD Designer Agent to the Start menu and the desktop. The first time, the SmartScreen window may ask: click the More info link, check that the publisher is ERD Designer, LLC, then click the Run anyway button.
- Linux (x64) – a .zip holding the program
ddl-apply. Unzip it and run it. Or install it from Terminal:
curl -fsSL https://erddesigner.com/agent/install | sh
This puts it on your Desktop (or in ~/ERD Designer Agent) and opens it.
The first time the desktop app starts, it opens ERD Designer in your browser once, so ERD Designer knows the Agent is installed.

16.3 Starting and stopping it
- From ERD Designer – click the Start Agent button, which appears wherever ERD Designer looks for the Agent. Your browser asks once whether to open ERD Designer Agent: click the Open button, and select the Always allow checkbox if offered.
- On a Mac it starts with only its icon in the Dock; on Windows, minimised on the taskbar.
- ERD Designer finds it within a few seconds.
- Yourself – from Applications (Mac), the Start menu (Windows), or by running
ddl-apply(Linux). - Closing the window does not stop it – On a Mac the Agent keeps running in the Dock (click the icon to bring the window back); on Windows it is minimised to the taskbar. Only the Quit button stops it.
- One copy at a time – opening it again brings the window forward.
16.4 The Agent's window (Mac and Windows)
The window's title is ERD Designer Agent.
- Status line – "Listening on localhost:{port} — this computer only", or "Not listening: {reason}". For example: "Port {n} is in use — is another Agent running?"
- Buttons – the Add a database…, Edit credentials…, Permissions…, Test, Remove…, SQL log, Port… and Refresh buttons. The four that act on one database need a row selected ("Select a database first.").
- The database list:
| Column | Shows |
|---|---|
| Name column | The short name you gave it. |
| Type column | The database type. |
| Status column | "Live" (something answers at its address), "Down" (nothing answered) or "—". No login is attempted. For SQLite, Live means the file exists. |
| Access column | "Read and write", "Read-only", "Write only" or "No access". |
| Shown in ERD Designer column | "Yes" or "No". |
Click a row to select it, and double-click it to edit its credentials. An empty list says "No databases yet — choose Add a database…."
- Message line – under the list: the result of your last action.
- Footer – the engine version, the full path of the settings file, and the Quit (stops the Agent) button.

The menu (the ERD Designer Agent menu on a Mac, the Agent menu on Windows; ⌘ on a Mac, Ctrl on Windows). Select a menu item, or press its shortcut keys:
| Menu item | Shortcut |
|---|---|
| Add a Database… menu item | ⌘/Ctrl+N |
| Edit Database Credentials… menu item | ⌘/Ctrl+E |
| Change Database Permissions… menu item | ⌘/Ctrl+P |
| Test a Connection menu item | ⌘/Ctrl+T |
| View the SQL Log menu item | ⌘/Ctrl+L |
| Change ERD Designer's Agent port… menu item | — |
| Remove a Database… menu item | ⌘/Ctrl+Backspace |
| Refresh the List menu item | ⌘/Ctrl+R |
| Quit ERD Designer Agent (stops the Agent) menu item | ⌘/Ctrl+Q |

16.5 Adding a database
Click the Add a database… button. Every database has:
- Short name field – "What you will see in ERD Designer."
- Type list – select PostgreSQL, SQL Server, SQLite, MySQL, MariaDB, Oracle, Amazon Redshift, Google BigQuery or Snowflake.
The other fields depend on the type:
| Database | Fields |
|---|---|
| PostgreSQL, SQL Server, MySQL, MariaDB, Oracle | The Address field (host:port/database, for example 127.0.0.1:1521/FREEPDB1; for Oracle the last part is the service name), the User and Password fields, and the Version field (optional, for example 23c, 8.0, 2019) |
| SQLite | The Database file field (click the Choose… button to pick it). No user or password. |
| Amazon Redshift | The Endpoint field (from the AWS console), Port (5439), Database (dev), User, Password and Schema (public) fields. Always connects over verified TLS. |
| Google BigQuery | The Project id field, the Service-account key file field (.json, click the Choose… button), the Location field (US) and the Dataset field ("The dataset to read and write."). The key file is the sign-in. |
| Snowflake | The Account identifier field (ORGNAME-ACCOUNT), the User, Warehouse, Role (blank = the user's default), Database and Schema (PUBLIC) fields, and either a Private key file field (.p8) or an access token field. Key-pair sign-in is preferred. |
- Password left blank – when the Password field is left blank, the password is not stored; ERD Designer asks for it each time it is used, and sends it only to the Agent on this computer.
- Version field – lets ERD Designer use what that version supports, for example Oracle BOOLEAN from 23ai, or MySQL CHECK from 8.0.16.
Click the Test and save button. The Agent tests the connection first, when it can (a password, key file or token was given, or SQLite); if the test fails, the button becomes the Save anyway button.

"Added "{name}", read-only. Writing is something you opt into, never inherited." A new database is shown in ERD Designer and is read-only.
16.6 Editing, permissions, testing and removing
- Edit credentials… button – changes the User field, the Password field (or the Ask for the password at every use (do not store it) checkbox), the Schema field and the Version field. To change the address, remove the database and add it again.
- Permissions… button – has three checkboxes:
- Read access to this database checkbox – needed to import from it;
- Write access to this database checkbox – needed to apply to it;
- Show it in ERD Designer (discoverable) checkbox – lists the database in ERD Designer.

On Oracle, MySQL, MariaDB, BigQuery and Snowflake it warns that each DDL statement is committed, so a failed apply is partly permanent.
- Test button – connects and lists the tables: "{name}: Connected — {n} tables: …", or "Did not connect — {reason}".
- Remove… button – "Its settings and any stored password are deleted from this computer. The database itself is not touched."
- SQL log button – shows the most recent statements the Agent has sent (16.10).
- Port… button – changes the listening port (16.8).
- Refresh button – re-reads the list and each database's status.
16.7 The Terminal Agent (Linux)
Running ddl-apply (or double-clicking it) opens a menu in the terminal and starts listening. Leave it open while you use ERD Designer.
- Header – shows "● Running on localhost:{port}", the release and the engine version, and "This computer only — no outbound connections but to your databases."
- DATABASES – lists each with its type, status (● live / ● down), access (read / read + write / no access) and whether it is listed in the app.
- Keys – press one key:
| Key | Action |
|---|---|
| 1 | Add a database (the same questions as 16.5, one at a time; a password is typed without showing) |
| 2 | Edit database credentials |
| 3 | Change database permissions (Read Access, Write Access, Database Discoverable: y or n) |
| 4 | Test a connection |
| 5 | View the SQL log (the last 40 entries) |
| 6 | Change the port |
| 7 | Remove a database |
| r | Refresh the list |
| q | Quit (stops the Agent) |
The settings file's location is shown under the menu.
16.8 The port
The Agent listens on port 7317 unless you change it.
- In the Agent – click the Port… button (desktop) or press 6 (Terminal), and type any number from 1024 to 65535. It takes effect at once.
- In ERD Designer – set the same port. Each of these offers a Host field and a Port field:
- Agent settings button – in the Import DDL form dialog;
- Agent Settings button – in the Generated DDL form dialog;
- Agent page – in your account form dialog.
Click the Save and look again button (or the Save and check button). Your browser remembers this; nothing is stored on ERD Designer's server.
16.9 Using it from ERD Designer
- Reading a schema – in the Import DDL form dialog, click the Connected database tab (8.3).
- Applying a model – in the Generated DDL form dialog, select the database and schema, then click the Apply button (section 9).
- Your account's Agent page – shows whether the Agent answered ("Agent {version} · release {n} answered at {host}:{port}") and lists its databases with their Permissions and Status columns: "Connected", "Password needed", "Not connected" (hover for the reason) or "Not in your plan".

When ERD Designer cannot reach the Agent, it says why and offers a fix:
| You see | What to do |
|---|---|
| "The Agent is not installed on this computer." | The What is an Agent? button explains it; the Install Agent button downloads it. |
| "The Agent is not running." | Click the Start Agent button; or open it yourself, then click the Check Again button. If it is running on another port, set that port with the Agent Settings button. |
| "The Agent is running, but it announces no databases." | Add one in the Agent, then click the Check Again button. |
| A database is greyed out as read-only | Give it Write access in the Agent (the Permissions… button, or key 3 in the Terminal Agent). |
| A database is greyed out as the wrong type | The model is for another database type. Add a database of that type to the Agent, or change the model's database in the Edit Model form dialog. |
| ERD Designer asks for a password | That database stores none in the Agent. Type it; it is used once and not kept. |
| "A newer ERD Designer Agent is available." | Click the Install Agent button. On a Mac the installer quits the old Agent itself; elsewhere, quit it first. Your databases and settings are kept. Apply waits until the new one is running. The start screen offers the Install Updated Agent button too, while an outdated Agent is running. |
| "An Agent is running at {host}:{port}, but it does not accept this site" | It is an older Agent. Quit it and install the current one. |
16.10 The settings file and the log
- Settings – are kept in
.ddl-apply.jsonin your home folder (orddl-apply.config.jsonin the folder it was started from). Only your user account can read the file, because it may hold passwords. The desktop app shows its full path in the footer. Advanced users can edit it by hand:port;targets, each withdatabase(the type),url,schema,version,discoverableandallow(["read"],["read","write"]);schemas, per-schema overrides such as{"sandbox":["read","write"]}.
${ENV_VAR}in aurlis read from the environment, so a password can stay out of the file. - The SQL log – is
.erddesigner/agent.login your home folder. It is plain text, one entry per line, and lists every statement sent to your databases, with its time, database and result. Passwords are never written. At 5 MB it moves toagent.log.1, and one old file is kept.

16.11 What a failed apply leaves behind
- PostgreSQL, SQL Server, SQLite and Redshift – apply in one transaction: a failure rolls everything back, and the database is unchanged.
- Oracle, MySQL, MariaDB, BigQuery and Snowflake – commit each DDL statement, so the statements before the failure stay applied. ERD Designer says how many. Running the apply again continues from where the database now is; it does not repeat what was done.
16.12 The command line
Advanced users can apply a downloaded script from a terminal, to PostgreSQL targets:
ddl-apply --target <name> --sql <file> [--apply]
- Without
--apply– it is a dry run and nothing is executed. --allow-drops– permits dropping tables or columns, after you type the target's name to confirm.--prune– treats the model as the whole schema.--schema– overrides the target's schema.--help– lists every option.
For any other database, click the Apply button in ERD Designer.
16.13 Removing it
Quit the Agent, then remove it:
- Mac – drag ERD Designer Agent from Applications to the Trash.
- Windows – uninstall it from Settings → Apps → Installed apps.
- Linux – delete the program file.
To remove everything it kept, also delete .ddl-apply.json and the .erddesigner folder in your home folder. Nothing else is installed.
17. Your account, plans and billing
17.1 The account form dialog
Click the
Edit profile icon on the toolbar. The form dialog's pages are:
- Profile and Security pages – your name, email addresses, connected sign-in accounts, password and active sessions. On a paid plan, active sessions are on the Registered Browsers page instead.
- Subscriptions page – what you hold and what you were charged (17.2).
- Registered Browsers page – paid plans only (section 18).
- Agent page – the Agent on this computer (16.9).
- Workgroup page – when a workgroup is selected (17.6).
Close the form dialog by clicking the
✕ button, pressing Escape, or clicking outside it. To close your account, email support@erddesigner.com from the address on it.

17.2 Subscriptions
"What you currently hold, and every charge made to your account."
The subscription table lists every plan you have held, with its price, tax, total and status. It also shows:
- Credit rows – for unused time after an upgrade ("Unused time on the {Plan} Plan", shown as a negative amount);
- AI rows – AI Access, packs and promotional assists, each with "{n} assists · {m} used" and what remains;
- Under the table – "Total AI Assists remaining: {n}".
Messages:
- "Subscription active until {date}." (cancelled)
- "Your {Plan} Plan changes to the {Plan} Plan on {date}." (a downgrade is scheduled)
- "The last charge on {date} did not go through ({reason})."
Buttons:
- Cancel subscription button (renewing plans) – opens the Change your plan form dialog (17.4) as a move to Basic, with the warning about which models would be deleted.
- Modify subscription or purchase AI Assists button – opens the Choose a Plan page.
The charge history lists every charge attempt, declined ones included, with date, description, card (····1234), price, tax, total and result. Paid charges have an Invoice (PDF) icon; click it to download the invoice. The Load older charges button shows more.

17.3 Choose a Plan
Open the Choose a Plan page by clicking the
Upgrade button, the
plan badge, the Select Plan button on the start screen, or any feature your plan lacks.
At the top, a line says where you stand. For example:
- "Your Pro Plan (monthly) is active and will renew on {date}."
- "Your Advanced Plan is free with code {code} until {date}."
Once you own AI Access: "AI Assists active with {n} credits remaining."
The Monthly Rate / Annual Rate buttons set the billing interval. Annual is shown greyed out while no plan offers an annual price.
The plan cards are the Basic card (free), the Pro card and the Advanced card, each with its price and features. Each card lists what it adds to the one before ("All the features of the … Plan"), and the retention rule underneath. The button on a card reads:
- Continue with {Plan} Plan button – your current plan;
- Upgrade to {Plan} Plan button – buys it now; the unused time on your current plan is credited;
- Downgrade to {Plan} Plan button – scheduled for the end of your paid period;
- Select {Plan} Plan button – chooses that plan;
- Scheduled for {date} button – the plan a pending downgrade will move to.
The Workgroup Plan card: "Shared models for a team. Every seat has the Advanced Plan; all seats are billed as one subscription." The Create a Workgroup button opens its form (17.6).
AI cards (Pro and Advanced):
- AI Access card – one-time: "Unlock the AI assistant… Includes 100 assists to start. One-time purchase — no subscription." Click the Access AI Assist button.
- 100 AI Assists card – once you own AI Access: "Add 100 assists to your balance. They never expire." Click the Access 100 AI Assists button.
- On Basic – "Your Plan must be Pro or Advanced to purchase AI Access."
Paying – Payment opens inside the page (Stripe). The ← Back to plans button returns. When it completes: "Payment successful" — "Thank you — your purchase is active." Click the Close button.

Have a code? Type an ERD- gift code or an STU- student code in the Have a code? field and click the Redeem button. It is checked but not spent yet.
- A gift code – "Code accepted — choose a plan above." The plan it offers shows "Free / until {date}". Clicking its Select {Plan} Plan button spends the code, and no card is asked for. A gift may also top your AI assists up to a number. When it ends you return to Basic, or to your paid plan if you have one.
- A student code – the cards show the instructor's one-time rates for the term. Clicking the Select {Plan} Plan button opens payment for the term. The student rate needs an academic email address (.edu, .edu.xx or .ac.xx).
- A code sent to an email address – works only for the account that holds that address.
17.4 Changing a paid plan
The Change your plan form dialog describes the change before anything happens:
- An upgrade – "The unused time on your current plan will be credited to you, and a full month/year of the new plan will be charged to your card. Your new billing period starts today."
- A downgrade – "Your {Current} Plan will continue until {date}." Nothing is charged today. If the lower plan cannot hold some of your models, a red warning names them: "WARNING: Downgrading to the {Plan} Plan will permanently delete all of your existing {Conceptual Models…} three days after your subscription period ends. ERD Designer has no way to recover lost models."
- Keeping your plan – while a downgrade is pending, cancels the downgrade.
Click the Confirm to upgrade button (or the Confirm to downgrade or Confirm to keep button), or the Cancel button. The result says what was charged and when your plan renews.
17.5 The plan badge and workgroup switcher
If you belong to a workgroup, the
plan badge reads My {Plan} Plan ▾. Click it to open a menu of your own space and each workgroup ("Switch between your own plan and your workgroups"). What you can do, and which models you see, follows the space you select.
A workgroup whose subscription has ended shows "(ended)" and cannot be selected. Switching closes the open model, asking first if it has unsaved changes.
17.6 Workgroups
A workgroup is a shared space for a team.
- Seats – every seat has the Advanced plan.
- Models – models made in the workgroup belong to the workgroup.
- AI Assist – the workgroup has its own AI Assist pool.
- Editing – only one person edits a model at a time (2.8).
Creating one – on the Choose a Plan page, click the Create a Workgroup button. The form has:
- Workgroup name field – up to 80 characters;
- Admin field – you;
- Seats field – 2 to 20;
- Billing field – how often you are billed.
Click the Continue to payment button. When it is done: "{name} is ready with {n} seats. Invite your team from Account › Workgroup." You are its admin and take one seat.
Joining one – An invitation arrives by email. In ERD Designer a panel says "{Workgroup} invited you to join its workgroup." Click the Join button, or the Not now button. Your own account and its models stay separate.
The Workgroup page (in the account form dialog, with the workgroup selected):
- A member – sees who runs it, and can click the Leave workgroup button.
- An admin – sees:
- Members section – "{name} — {x} of {y} places used". Each member has a Role list (select Member or Admin), a May create models checkbox, and a Remove button. The last admin cannot be demoted or removed.
- Invite someone section – type in the Email address field, select a Role, select the May create models checkbox if wanted, then click the Send invitation button. "They receive an email from ERD Designer with a link to join." Pending invitations can be revoked with the Revoke button.
- Model Permissions section – each model with its owner. Expand one to select its Owner and select the Read, Update and Delete checkboxes for each member. Delete includes Update and Read. The Release lock button frees a model someone is editing.
- Seats and subscription section:
- Add Workgroup Seat button – is charged now for the rest of the period.
- Remove Workgroup Seat button – takes effect at renewal, and only for an empty seat.
- Cancel Workgroup Subscription button – ends it at the period end; its models are deleted 30 days later.
- Keep the subscription button – withdraws a cancellation.
- Resubscribe button – restarts an ended workgroup within those 30 days.
- Subscriptions page – the workgroup's own charges and invoices, and the Change card button for its card.
Sharing one model – On a saved workgroup model, an admin clicks the
Share icon on the toolbar to open the Share "{name}" form dialog: "Choose who in the workgroup may open, change or delete this model." Select the Read, Update and Delete checkboxes per member, then click the Done button. The model's owner can also share it from the Edit Model form dialog (2.6).
17.7 Share links
On the Pro, Advanced and Workgroup plans you can share a read-only copy of a saved model with anyone, through a link. They need no account and do not sign in. The link always shows the model as you last saved it, and works until you revoke it or the model is deleted. On a workgroup model, only its owner or an admin can make or revoke a link.
- Opening the section – Open the model, then click its name on the toolbar or the
Edit model properties icon. The Share links section is in the Edit Model form dialog, below Model Permissions. - Making a link – Click the Create share link button, type a label in the Label field to say who the link is for (for example "for Acme review", up to 80 characters), and click the Create button.
- Copying it – The link is shown once: "Copy this link now — it is shown only once." Click the Copy button and send it to the person. If you lose it, revoke it and make another.
- Your links – Each link is listed with its Label, Created, Views and Last viewed. Click its Revoke button to stop it working at once; the other links keep working.
What the person who opens the link sees:
- The model – read-only, titled "Read-only — shared from ERD Designer", with a Try ERD Designer free link.
- What they can do – pan, zoom with the mouse wheel or the zoom icons, click the Fit View icon, and use the minimap. Nothing else: they cannot select, move or open anything, and cannot print, export or see DDL.
- When it stops working – "This shared model is not available." A revoked link and a deleted model end it for good. If the owner's plan drops below Pro, the link pauses, and works again when the plan comes back.
Owners may choose to share a read-only version of their model with anyone they choose, and the corresponding share link will continue to share the current state of the model until revoked. Please manage share links carefully.
18. Using ERD Designer on more than one computer
This applies to paid plans. A paid plan works on two registered computers, used one at a time. Basic has no such limit.
- Naming a computer – The first time you use a paid plan in a browser, ERD Designer asks you to name it ("e.g. Home laptop"), then registers it. Type the name and click the Save button. It is shown as "{name} - {browser}".
- Moving between your two computers – asks nothing, once the other has been idle for 15 minutes.
- If the other computer is in use – "ERD Designer is in use on "{name}". Your subscription works on one computer at a time." Click the Use it here button to take over; the other browser is signed out. Or click the Sign out icon.
- A third computer – "This account is registered to another device." Click the Use my subscription on this computer from now on button, then select the radio button for the computer it replaces, and click the Transfer it now button. You can do this twice in twelve months; after that, email support. A different browser, a private window, or a cleared browser profile counts as a different computer.
- The Registered Browsers page (account form dialog) – shows your two computers, each with:
- This Machine/Browser label – on the current one;
- Last used – when it was last used;
- Sign-in details – its sign-in details;
- Rename Machine button – renames it;
- Sign out of browser button – on the other computer: it signs it out but keeps it registered.

19. Notices and banners
These appear under the toolbar.
- Server or database unreachable – "ERD Designer's server can't be reached right now, so models can't be opened or saved." Keep working: your unsaved changes are kept in this browser until you can save. The notice clears itself when the service is back.
- Sign-in trouble – "ERD Designer's sign-in service is having trouble. You may be asked to sign in again."
- An update in progress – "ERD Designer is being updated to a new version. This takes about a minute." It clears itself when the update is done.
- Just updated – "ERD Designer has just been updated to a new version. If anything you did in the last minute didn't go through, please try it again."
- A new version – "A new version of ERD Designer is available. Reload to use it." (or "Save your model, then reload to use it."). Click the Reload button, or the Later button.
- An announcement – from ERD Designer, in blue. Click the
× icon to close it; it stays closed in this browser. - Recovered changes – "Unsaved changes were kept in this browser", listing each "{name} — from {date}" with a Restore button and a Discard button.
- Payments unavailable (on the Choose a Plan page) – "Payments are unavailable right now, so purchases can't be made. Nothing will be charged."
- AI unavailable (in the AI Assist panel) – "AI Assist is unavailable right now. Nothing was sent and no assist was used."
What is running – https://app.erddesigner.com/version shows the release of the app, the server, the Claude and ChatGPT connector and the Agent.
20. Support and policies
- Support – support@erddesigner.com, by email only. Include your account's email address, what you were doing, what you expected, and any message shown.
- Pages:
- Support – https://erddesigner.com/support
- The Agent – https://erddesigner.com/agent
- Conversions – https://erddesigner.com/convert
- Comparisons – https://erddesigner.com/compare
- Educators – https://erddesigner.com/educators
- Sample schemas – to try an import with: https://erddesigner.com/samples
- Terms of Service – https://erddesigner.com/terms
- Privacy Policy – https://erddesigner.com/privacy
ERD Designer™ is a trademark of ERD Designer, LLC.
21. Terminology
This section defines the words this guide uses for the parts of a model. Each part has one name, and the guide uses that name everywhere.
21.1 Objects
- Object – anything you draw on the canvas: an entity, a table, a SuperType, a SubType, a domain, a type or a relationship. When the guide refers to these generically, it says "object".
- Entity – an object in a conceptual model (section 4). Its items are attributes.
- Table – an object in a physical model (section 5). Its items are columns.
- SuperType – an entity with a grouping container, whose SubTypes inherit its primary key.
- SubType – an entity inside a SuperType's grouping container. It takes its key from the SuperType.
- Grouping container – the dashed-line area of a SuperType in which its SubTypes are contained.
- Domain – an object on the Domains & Types tab: one datatype with its rules, which attributes, columns and elements can reference as a datatype (section 6).
- Type – an object on the Domains & Types tab comprised of several elements (section 6).
- Relationship – an object that joins a parent object to a child object. In a physical model a relationship defines a foreign key which itself becomes a column in the child table.
- Parent and child – Two objects that a relationship may join. In the case of tables, the child table contains a foreign key column that references the parent table’s primary key.
21.2 Items
- Item – An instance inside an object. This guide refers to these instances generically as "items".
- Attribute – an item of an entity.
- Column – an item of a table.
- Element – an item of a type.
- Primary key (PK) – the items that identify each instance of an entity or table.
- Foreign key (FK) – the items of a child entity or table that hold its parent’s primary key.
- Alternate key (AK) – defines collections of items in an entity that must be unique. In a physical model an alternate key becomes a unique constraint.
21.3 Parts of an object
- Header – the top banner of an object, which shows its name. Double-click it to open the object's editor, or drop a primary-key item onto it to draw a relationship.
- Badge – a short label beside an item or on an object, such as PK, FK, AK1, U1, I1 or CK.
- Grip – the ⋮⋮ mark that appears when the pointer is over an item. Drag it to move the item (in relationship to other items) within the object.
- Resize handles – the handles around a selected object. Drag one to resize the object.
- Edge – the outline of an object. A relationship's endpoint slides along it.
21.4 Parts of a relationship
- Endpoint – where a relationship meets an object. Every relationship has two: the parent endpoint and the child endpoint. When you select a relationship, a round handle appears at each endpoint. Drag it to slide the endpoint along the object's edge.
- Cardinality – how many instances may be in a parent or child object, such as 1, 0..1 or 0..N. Notation denoting cardinality is drawn at the endpoints of each relationship.
- Notation – how endpoints are drawn denoting cardinality: crowsfeet or Bachman (3.3).
- Segment – one straight portion of a relationship, between an endpoint and an elbow or between two elbows.
- Elbow – a corner where a relationship turns.
- Segment handle – the handle in the middle of a segment of a selected relationship ("Drag left / right", "Drag up / down"). Drag it to move the segment. Double-click it to remove the segment's elbows, where they can be removed ("Double-click to remove").
- + handle – a handle on a selected relationship ("Click to add two more elbows here"). Click it to add two elbows to that segment.
- Identifying and non-identifying – with an identifying relationship, each instance of the child is uniquely identified, wholly or in part, by the key it shares from the parent. In a physical model this is manifest: the parent's primary key columns are part of the child table's primary key, so each row of the child is identified through a row of the parent. A conceptual model has no instances, so there an identifying relationship states that the parent's identifier is part of the child entity's identifier. With a non-identifying relationship, the child holds the parent's key without it being part of the child's identity. The relationship editor offers them as the Identifying radio button ("Child is identified through its parent") and the Non-identifying radio button ("Child has its own identity").
21.5 The workspace
- Model – what you create, open, save and draw on the canvas: a conceptual model (entities, relationships, types and domains which are independent of any specific database type), or a physical model (tables, relationships, types and domains for one database type).
- Conceptual model – ERD Designer's model of entities, their attributes, keys and relationships, independent of any database. Many tools call this a logical model; this guide calls it a conceptual model. On a conceptual model ERD Designer speaks of entities and attributes.
- Physical model – the tables, columns and relationships of one database type. On a physical model ERD Designer speaks of tables and columns.
- Conceptual types – the 30 datatypes of a conceptual model, such as Serial and Variable Characters, independent of any database. Transforming the model into a physical model turns each into a datatype of that database (section 7).
- Canvas – the area where the model's objects are drawn.
- Canvas tabs – the Tables tab (or Entities tab) and the Domains & Types tab (3.1).
- Selection marquee – the rectangle you drag in Select Mode, or with Shift held, to select every object it encircles (3.2).
- Palette – the location from which buttons are dragged onto the canvas to create objects.
- Toolbar – the bar across the top of the app to which icons are affixed.
- Minimap – the small map of the whole model at the bottom right of the canvas.
- Editor – the form dialog that opens when you double-click an object: examples include the entity editor, the table editor, the relationship editor, and the domain and type editors.
- Window – the whole visible area of a browser tab. A window can show several things at once, such as the toolbar, the palette, the canvas, panels and forms.
- Form – a set of fields that you fill in with data.
- Form dialog – a pop-up form that collects information before you may go on: the rest of the window behind it is disabled until you submit or dismiss it. Examples are the Import DDL, Transformation Settings and Export PDF form dialogs, and every object's editor. The industry term for this pattern is a blocking modal dialog, often called a modal dialog or simply a modal; they all mean the same thing, and this guide says "form dialog".
- Panel – an area that opens beside the canvas without disabling it, such as the AI Assist panel.
- Button – a control with a text title, such as the Ok button. Clicking it does something. A button may also show an image, as the Delete Table button does.
- Icon – a control with an image and no text, such as the AI icon on the toolbar. Hovering over it shows its tooltip, and clicking it does something.
21.6 Words this guide does not use
Each word below has a term above. The guide uses the term:
- Logical diagram or logical model – say "conceptual model".
- Logical types – say "conceptual types".
- Physical diagram – say "physical model".
- Diagram – for what you create, open, save and draw: say "model". "Entity relationship diagram" and "ERD" still name the kind of drawing.
- Diagramming tool – say "modeling tool".
- Box, shape or node – say "object", or name its kind: entity, table, domain or type.
- Selection box or selection outline – say "selection marquee". The dashed area of a SuperType that holds its SubTypes is its "grouping container".
- Line, connector or link – say "relationship".
- Modal, modal dialog or popup – say "form dialog".
- Window – for a form dialog: say "form dialog". A window is the whole area of a browser tab.
- Button – for a control with an image and no text: say "icon".
- End or attachment point – of a relationship: say "endpoint".
- Bend or corner – of a relationship: say "elbow". The corners of an object are still corners.
- Row – for an item on the canvas: say "item", or attribute, column or element. "Row" still means a row of data in a database table or query result, or a row in an editor's list.
- Field – for an attribute or a column: say "item". A field is a place to type in a form.