PostgreSQL · MySQL · SQL Server · SQLite

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.

WORKFLOW

From first table to the migration you ship

Design with your team, check the result, and get SQL you can run.

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

  • Flyway
  • Liquibase
  • Atlas
  • golang-migrate
  • dbmate
  • Prisma Migrate
  • Drizzle Kit
  • Alembic
  • Rails
  • Django
PLATFORM

Built for the whole schema lifecycle

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.

EXAMPLE CONVERSION REPORT

+ 14 tables converted

! 1 EXCLUDE constraint not supported

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.

SQLDBMLJSONSVGPNG

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.

Start designing in seconds

Free in your browser. No account needed to begin.

Open the editor