Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/code/Magento/Eav/etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,10 @@
<constraint xsi:type="foreign" referenceId="EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_STORE_STORE_ID"
table="eav_attribute_option_value" column="store_id" referenceTable="store"
referenceColumn="store_id" onDelete="CASCADE"/>
<constraint xsi:type="unique" referenceId="EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_OPTION_ID">
<column name="store_id"/>
<column name="option_id"/>
</constraint>
<index referenceId="EAV_ATTRIBUTE_OPTION_VALUE_OPTION_ID" indexType="btree">
<column name="option_id"/>
</index>
Expand Down
3 changes: 2 additions & 1 deletion app/code/Magento/Eav/etc/db_schema_whitelist.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@
"constraint": {
"PRIMARY": true,
"EAV_ATTR_OPT_VAL_OPT_ID_EAV_ATTR_OPT_OPT_ID": true,
"EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_STORE_STORE_ID": true
"EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_STORE_STORE_ID": true,
"EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_OPTION_ID": true
}
},
"eav_attribute_label": {
Expand Down