File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
app/code/Magento/Catalog/etc Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 586
586
<constraint xsi : type =" primary" referenceId =" PRIMARY" >
587
587
<column name =" list_id" />
588
588
</constraint >
589
-
589
+ <constraint xsi : type =" unique" referenceId =" CATALOG_COMPARE_LIST_CUSTOMER_ID" >
590
+ <column name =" customer_id" />
591
+ </constraint >
590
592
<constraint xsi : type =" foreign" referenceId =" CATALOG_COMPARE_LIST_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID"
591
593
table =" catalog_compare_list" column =" customer_id" referenceTable =" customer_entity"
592
594
referenceColumn =" entity_id" onDelete =" CASCADE" />
593
595
<index referenceId =" CATALOG_COMPARE_LIST_LIST_ID_MASK" indexType =" btree" >
594
596
<column name =" list_id_mask" />
595
597
</index >
596
- <index referenceId =" CATALOG_COMPARE_LIST_CUSTOMER_ID_CUSTOMER_ENTITY_CUSTOMER_ID" indexType =" btree" >
597
- <column name =" customer_id" />
598
- </index >
599
598
</table >
600
599
<table name =" catalog_product_website" resource =" default" engine =" innodb"
601
600
comment =" Catalog Product To Website Linkage Table" >
Original file line number Diff line number Diff line change 1132
1132
"customer_id" : true
1133
1133
},
1134
1134
"index" : {
1135
- "CATALOG_COMPARE_LIST_LIST_ID_MASK" : true ,
1136
- "CATALOG_COMPARE_LIST_CUSTOMER_ID" : true
1135
+ "CATALOG_COMPARE_LIST_LIST_ID_MASK" : true
1137
1136
},
1138
1137
"constraint" : {
1139
1138
"PRIMARY" : true ,
1139
+ "CATALOG_COMPARE_LIST_CUSTOMER_ID" : true ,
1140
1140
"CATALOG_COMPARE_LIST_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID" : true
1141
1141
}
1142
1142
}
1143
- }
1143
+ }
You can’t perform that action at this time.
0 commit comments