I have created db schema and also write the code for upgrade schema. Also changed the version in module.xml file.

After that i am running this comman "php bin/magento setup:upgrade" and running cache clean command but still my changes not getting update.

Also removed the folder from generated folder.

Is there anything else i have to do so get the changes?

New contributor
Manish Soni is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • you need to generate whitelist first specify vendor and modlename: php bin/magento setup:db-declaration:generate-whitelist --module-name=Vendor_Module – Ashish Viradiya Nov 8 at 8:08
  • I have run this above command but still its not working, My modules name showing in module list and config file but its not showing in DB "setup_module" table. – Manish Soni 2 days ago
  • Then the issue is in module, check module.xml and registration.php – Ashish Viradiya 2 days ago

Your Answer

Manish Soni is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.