magemojo / m2-ce-cron

Magento 2 cron project to fix bugs and common cron issues.
https://magemojo.com
MIT License
165 stars 45 forks source link

setup_version should only be incremented when there are sql scripts to run #128

Open navarr opened 1 year ago

navarr commented 1 year ago

From 1.4.2 to 1.4.3, the setup_version also increased from 1.4.2 -> 1.4.3.

This version indicates a change in the InstallSchema/UpgradeSchema/InstallData/UpgradeData scripts. This version should only be incremented when such scripts change.

There was no change in those scripts from 1.4.2 to 1.4.3. A change in the setup_version number without a change in the setup scripts means that a database upgrade must be performed, requiring downtime of the Magento store (even when there are no changes necessary - even in zero-downtime deployment systems).

Please update your processes so that setup_version only increases when one of the mentioned scripts is updated.