Design your database schema. Get the migration.

Draw tables and relationships in your browser, catch design mistakes before they ship, and generate reversible migration SQL for PostgreSQL, MySQL, SQL Server and SQLite.

No account needed. Your diagrams stay in this browser only and are lost if you clear its site data. Sign in to save, share and use paid features.

usersid uuid PKemail textcreated_atordersid uuid PKuser_id FKtotal numericorder_itemsorder_id FKsku textqty int

Step 1

Design

Drag tables, edit columns, keys, indexes and relationships on a canvas. Start from a ready-made template, or bring a schema you already have.

Step 2

Check

The linter flags missing indexes, nullable foreign keys, reserved words and more, and offers a one-click fix for many of them.

Step 3

Migrate

Compare two versions of a diagram and get ordered, reversible SQL, with notes on data loss and statements that can fail on existing rows.

Migrations for the tool you already use

PostgreSQL, MySQL, MariaDB, SQL Server, SQLite

Import and export SQL for each database, and convert a diagram between them with a clear report of what changes.

PostgreSQL in depth

PostGIS, pgvector and more extensions, declarative partitioning and EXCLUDE constraints.

Real-time collaboration

Edit together with live cursors, comment on tables and restore earlier versions. Invite-only: diagrams are private by default.

Code and docs out

Export SQL, DBML, JSON, SVG and PNG, or ORM models such as Prisma and Drizzle.

Works with AI assistants

Connect Claude, Cursor and other assistants over MCP so they can read your schema and change it, with every change kept in version history.

Secure by design

Row-level security on every table and a strict content security policy.