Setup script execution time – Magento 2

Updated: Aug 20

Magento setup scripts are used to create/alter table and insert/update data into table while installing /upgrading module.


Install prefix scripts are executed while running “php bin/magento setup:upgrade”.

Upgrade prefix scripts are executed while running “php bin/magento setup:upgrade”, it additionaly check right version to execute the logic.

I hope, it helps.

#magento2 #setupscript #upgradedata

3 views

Recent Posts

See All

Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

©2020 by Bilal Usean. Proudly created with Wix.com