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-03-12 00:41:59 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.

Example with the verbose flag set Example with the extra verbose flag set
Example of the DB Status command with the verbose flag set Example of the DB Status command with the extra verbose flag set

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