samjuk / m2-module-verbose-db-status
Adds a verbose mode to the setup:db:status command, to assist with debugging DB schema differences
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=7.3
This package is auto-updated.
Last update: 2025-01-12 00:24:13 UTC
README
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