[ 源代码: skeema ]
软件包:skeema(1.9.0+ds-1 以及其他的)
Schema management CLI for MySQL (program)
Skeema is a tool for managing MySQL tables and schema changes in a declarative fashion using pure SQL. It provides a CLI tool allowing you to:
* Export CREATE TABLE statements to the filesystem, for tracking in a repo (git, hg, svn, etc) * Diff changes in the schema repo against live DBs to automatically generate DDL * Manage multiple environments (e.g. dev, staging, prod) and keep them in sync with ease * Configure use of online schema change tools, such as pt-online-schema-change, for performing ALTERs * Apply configurable linter rules to proactively catch schema design problems and enforce company policiesSkeema supports a pull-request-based workflow for schema change submission, review, and execution. This permits your team to manage schema changes in exactly the same way as you manage code changes.