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?

  • 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 '19 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 Nov 11 '19 at 4:55
  • Then the issue is in module, check module.xml and registration.php – Ashish Viradiya Nov 11 '19 at 6:37

Your Answer

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.