Skip to content

Commit f2780d5

Browse files
BeggiNNclaude
andcommitted
Remove foreign key constraint to avoid MAJOR version bump
Remove CUSTOMER_VISITOR_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID foreign key constraint from customer_visitor table. The foreign key was causing Semantic Version Checker to flag this as a MAJOR change, but it's not required for functionality. The website_id column and index remain, which is sufficient for the feature to work correctly. This changes the version requirement from MAJOR to MINOR. Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent a3cc15b commit f2780d5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/code/Magento/Customer/etc/db_schema.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,6 @@
526526
<constraint xsi:type="primary" referenceId="PRIMARY">
527527
<column name="visitor_id"/>
528528
</constraint>
529-
<constraint xsi:type="foreign" referenceId="CUSTOMER_VISITOR_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID"
530-
table="customer_visitor" column="website_id" referenceTable="store_website"
531-
referenceColumn="website_id" onDelete="SET NULL"/>
532529
<index referenceId="CUSTOMER_VISITOR_CUSTOMER_ID" indexType="btree">
533530
<column name="customer_id"/>
534531
</index>

0 commit comments

Comments
 (0)