Introducing the schemadiff command line tool
Dec 18, 2023Shlomi Noach

Summary
This post introduces the `schemadiff` command-line tool, a wrapper around Vitess's `schemadiff` library. It enables engineers to validate, normalize, and diff database schemas from standard input, file system, or MySQL databases. Use cases include validating SQL syntax, prettifying schema definitions, and generating DDL for schema synchronization between branches. This tool can be integrated into CI/CD pipelines for pre-deployment validation.