Schema Sketch

Paste your CREATE TABLE statements, get the diagram

SQL

Reads MySQL, PostgreSQL, SQLite and BigQuery DDL. The diagram updates as you type.

Tables

Declared foreign key, pointing at the referenced table Guessed from a column name Drag tables to arrange. Drag the background to pan. Scroll to zoom.