samjuk/m2-module-verbose-db-status

There is no license information available for the latest version (v1.0.0) of this package.

Adds a verbose mode to the setup:db:status command, to assist with debugging DB schema differences

v1.0.0 2024-11-17 00:09 UTC

This package is auto-updated.

Last update: 2025-01-12 00:24:13 UTC


README

Supported Magento Versions CI Workflow Status GitHub Release

This is a simple module that adds a verbose and extra verbose mode to the setup:db:status command.

Especially useful within a CI environment for identifying what schema changes are causing a database migration, which in turn prevents most typical zero downtime deployment strategies.

Installation

composer config repositories.samjuk-m2-module-verbose-db-status vcs git@github.com:SamJUK/m2-module-verbose-db-status.git
composer require samjuk/m2-module-verbose-db-status:@dev
php bin/magento module:enable SamJUK_VerboseDBStatus && php bin/magento cache:flush

Usage

Run the setup:db:status command, specifying the appropriate verbosity level

php bin/magento setup:db:status # Standard Magento Output
php bin/magento setup:db:status -v # Display before and after for modified values
php bin/magento setup:db:status -vv # Display before and after for modified values, and raw data diff