A database migration CLI tool for MySQL databases, currently at version 1.0.6. It allows executing named migration files (referred to as 'rgr' in the documentation) against a specified database. The configuration is done via a YAML file (mg-config.yaml) in the project root, specifying database connection details and folder path for migration scripts. It supports optional automatic Git push after migration. This package is simple, globally installed, and designed for a specific workflow with MySQL.
npm install bkn-migrationNo compatibility data collected yet for this library.
Demonstrates global installation, configuration file setup, and basic usage of the migration CLI.
Rename your config file to 'mg-config.yaml' and ensure it's in the root of your project.
Before running with 'git', verify your git credentials and that the current branch is correct.
Always provide a database name and a migration set name. Example: 'migration mydb initial'.
No dependency data recorded yet.