setup:db:status
Checks if the database schema and data are up to date — does setup:upgrade need to run?
Synopsis
bin/magento setup:db:statusExamples
Exit 0 if no migrations pending. Use as a deploy gate.
bin/magento setup:db:statusSee also
Related commands in setup
Other setup:* commands you might want next.
setup:backup
Takes backup of Magento Application code base, media and database
setup:config:set
Creates or modifies the deployment configuration
setup:db-data:upgrade
Upgrades only the database data (without schema changes).
setup:db-declaration:generate-patch
Generates a data or schema patch class skeleton inside a module's Setup/Patch/ directory.
setup:db-declaration:generate-whitelist
Generates a db_schema_whitelist.json file alongside the module's db_schema.xml. Run after editing db_schema.xml.
setup:db-schema:upgrade
Upgrades only the database schema (without data fixes). Used for staged upgrades.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.