You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a bit confused actually as I thought that upgrade steps are not being executed when installing the extension with the latest revision. If that's what they're supposed to, each upgrade step will have to ensure it doesn't error when it is unnecessarily being executed.
The text was updated successfully, but these errors were encountered:
@jensschuppe that's very strange. A normal install of an extension will automatically mark every old upgrade step as complete. Something might have gone wrong with your install?
Well, apparently something went wrong, but I'm not really sure what. The extension finished installing without complaints (using cv ext:enable). Does the installer code scan for upgrade steps and insert the highest schema version when installing an extension? Maybe that got interrupted somehow ...
Anyway: If the upgrade step was more forgiving, there wouldn't be an error at all. Unfortunately, IF NOT EXISTS is not supported with ADD COLUMN for all MySQL/MariaDB versions. But if it's just me getting this error ...
specifically in
upgrade_1001()
with:org.civicrm.contactlayout/CRM/Contactlayout/Upgrader.php
Line 84 in eeacd33
since the column already exists.
I'm a bit confused actually as I thought that upgrade steps are not being executed when installing the extension with the latest revision. If that's what they're supposed to, each upgrade step will have to ensure it doesn't error when it is unnecessarily being executed.
The text was updated successfully, but these errors were encountered: