SchemaSmith for PostgreSQL

Extract, version, and deploy your PostgreSQL schemas from source control. No migration scripts. Just JSON.

The Tools

Three CLI tools cover the schema lifecycle on PostgreSQL.

SchemaTongs

Extract a live PostgreSQL schema into versioned JSON table definitions and SQL object scripts.

SchemaQuench

Deploy schema packages to PostgreSQL targets with dependency ordering and idempotent scripts.

DataTongs

Generate MERGE scripts for reference and seed data that deploy alongside schema changes.

Explore

Start with the fundamentals, then go deeper into the SchemaSmith model.