Upgrade the ConfigurableBundleStorage module
Edit on GitHubUpgrading from version 1.* to version 2.0.0
In the ConfigurableBundleStorage
version 2.0.0, we have introduced these backward-incompatible changes:
- Added
spryker/locale
module to dependencies. - Added
spryker/product-image
module to dependencies. - Added
spryker/product-storage
module to dependencies for forward-compatibility reasons. - Increased
spryker/configurable-bundle
module version constraint for the new major. - Changed configurable bundle template storage structure by renaming
productListId
toidProductList
. - Enriched configurable bundle template storage structure with name,
idConfigurableBundleTemplateSlot
andidConfigurableBundleTemplate
properties. - Removed
PROPEL_QUERY_CONFIGURABLE_BUNDLE_TEMPLATE
from the dependency provider.
Estimated migration time: ~1hour
To upgrade to the new version of the module, do the following:
- Upgrade the
ConfigurableBundleStorage
module to version 2.0.0:
composer require spryker/configurable-bundle-storage:"^2.0.0" --update-with-dependencies
- Truncate the
spy_configurable_bundle_storage
database table:
TRUNCATE TABLE spy_configurable_bundle_template_storage
- Remove all keys from Redis:
redis-cli --scan --pattern kv:configurable_bundle_template:'*' | xargs redis-cli unlink
- Run the database migration:
console propel:install
- Run the following command to re-generate transfer objects:
console transfer:generate
- Run the following command to get all data about configurable bundle templates from the database and publish them to Redis:
console event:trigger -r configurable_bundle_template
Thank you!
For submitting the form