screen capture

What is it?

sqldef is a CLI tool, webasm library, and nodejs tool/library for diffing SQL schema. You can use it to manage migration of PostgreSQL and MySQL databases, using regular SQL DDL.


You can generate DDLs to update the DB schema:


Current schema

New schema