A database migration CLI tool built by Rhinogram for managing PostgreSQL schema changes programmatically. Version 0.1.9 is the latest stable release; release cadence is irregular. It wraps Knex.js to provide an opinionated migration workflow with 'up' and 'down' commands, timestamped migration files, and custom templates. Unlike standalone tools like Knex CLI, Rhinozug is designed as a global npm package and uses a project-local initialization (`rz init`) to create config and migration directories. It is intended primarily for Rhinogram's internal use, but is publicly available on npm.
npm install rhinozug-cliVerified import paths — ran on the pinned version, not inferred.
Demonstrates installing globally, initializing a project, creating a migration, running it, and listing migration status.
Use 'rhinozug' instead of 'rz' or check for existing 'rz' command.
Always test 'rz down' immediately after 'rz up' to ensure database state is restored.
Run 'npm init -y' before 'rz init'.
Use the exact migration filename as shown in 'rz list:m'.
Run 'npm install -g rhinozug-cli' or use 'npx rhinozug-cli <command>'.
Install globally: 'npm install -g rhinozug-cli'. Check PATH or call 'npx rhinozug-cli'.
Run 'rz init' from the project root.
No dependency data recorded yet.