Tech News
← Back to articles

Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite

read original related products more articles

sqldef

sqldef is a CLI tool for diffing two SQL schemas. You can use it to manage the migration of RDBMSs using regular SQL DDLs.

Supported databases: MySQL, MariaDB, TiDB, PostgreSQL, SQL Server, and SQLite3.

Online Demo

MySQL PostgreSQL SQLite3 SQL Server Enable DROP

Current schema Desired schema

Up (current → desired)

Down (desired → current)