ER diagram canvas
100%
OVERVIEW
Click the ↗ icon beside a field to add a relationship · Select relationship lines to edit · Drag to move · Scroll to zoom
Create tables and keys, connect relationships and review the schema before exporting. Save editable version-2 JSON (version-1 files import safely), compare revisions, and export SQL/DBML, an ER diagram or a documentation ZIP. SQL import supports a strict subset and SQLite affinity mapping is lossy.
SQL and DBML imports support strict subsets, not arbitrary database scripts. Migration proposals require manual review, a verified backup and a nonproduction test. This tool does not connect to or execute SQL on a database. New junction-table foreign keys use cascading deletes; review generated SQL. Browser project storage is best effort and separate from Database Designer.
This is an authored schema plan, not executed SQL or a verified database migration.
No. Imports accept strict supported SQL/DBML subsets for modeling. They do not connect to a server or execute scripts. Review generated SQL with the target database's requirements before using it elsewhere.
New junction-table foreign keys use cascading deletes in this model. Confirm that behavior fits your data-retention rules; a diagram does not establish a safe migration or permission to delete real records.