Add virtual_combinations migration to 9.2.0 upgrade SQL#1855
Conversation
cd94c31 to
87cddda
Compare
Quetzacoalt91
left a comment
There was a problem hiding this comment.
The changes look good, however, can you please target the branch 7.6.x?
|
The main issue on PrestaShop side is not yet merged ; it's fair to handle this version right now ? :) |
|
The PR will be blocked until the PR on the core is merged, but a release from the branch 7.6.x will cover the compatibility with PS 9.2.0 |
87cddda to
eeb3c34
Compare
|
Thanks for the review! Done — rebased onto |
Companion to PrestaShop/PrestaShop#41825: adds product_attribute.is_virtual (per-combination virtual flag) and id_product_attribute to product_download (one downloadable file per combination), relaxing its unique key. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Updated following the design pivot (discussion #41826): the migration now adds |
eeb3c34 to
40ccdad
Compare
|



Companion to PrestaShop/PrestaShop#41825 (new
virtual_combinationsproduct type).Existing shops need this upgrade SQL appended to
upgrade/sql/9.2.0.sql:id_product_attributetoproduct_download(0 = product level)UNIQUE(id_product)->UNIQUE(id_product, id_product_attribute)product.product_typeenum withvirtual_combinationsThe core PR changes
install-dev/data/db_structure.sqlfor fresh installs; this covers upgrades.🤖 Generated with Claude Code