SchemaSmith for MariaDB

Schema as code for MariaDB 10.2 and higher. Extract, version, and deploy from source control — no migration scripts, just declarative JSON.

The Tools

Three CLI tools cover the schema lifecycle on MariaDB.

SchemaTongs

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

SchemaQuench

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

DataTongs

Generate reference and seed data sync scripts that deploy alongside your schema changes.

Explore

Start with the fundamentals, then go deeper into how SchemaSmith works on MariaDB.