klaviyo / magento2-klaviyo

37 stars 51 forks source link

UpgradeSchema.php has a bad version_compare #102

Closed AirmanAJK closed 3 years ago

AirmanAJK commented 3 years ago

For extension upgrades, kl_sms_consent and kl_email_consent columns only get added to the quote and sales_order tables if the current version is greater then 2.0.0. Shouldn't that be less than 2.0.0 instead? I upgraded from 1.2.3, we don't have those new columns, and the upgrade didn't add the new columns because of the current version compare logic in place.