setup:db-declaration:generate-patch
Generates a data or schema patch class skeleton inside a module's Setup/Patch/ directory.
Synopsis
bin/magento setup:db-declaration:generate-patchRelated 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-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.
setup:db:status
Checks if the database schema and data are up to date — does setup:upgrade need to run?
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.