File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 458
458
<constraint xsi : type =" foreign" referenceId =" EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_STORE_STORE_ID"
459
459
table =" eav_attribute_option_value" column =" store_id" referenceTable =" store"
460
460
referenceColumn =" store_id" onDelete =" CASCADE" />
461
+ <constraint xsi : type =" unique" referenceId =" EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_OPTION_ID" >
462
+ <column name =" store_id" />
463
+ <column name =" option_id" />
464
+ </constraint >
461
465
<index referenceId =" EAV_ATTRIBUTE_OPTION_VALUE_OPTION_ID" indexType =" btree" >
462
466
<column name =" option_id" />
463
467
</index >
Original file line number Diff line number Diff line change 287
287
"constraint" : {
288
288
"PRIMARY" : true ,
289
289
"EAV_ATTR_OPT_VAL_OPT_ID_EAV_ATTR_OPT_OPT_ID" : true ,
290
- "EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_STORE_STORE_ID" : true
290
+ "EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_STORE_STORE_ID" : true ,
291
+ "EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_OPTION_ID" : true
291
292
}
292
293
},
293
294
"eav_attribute_label" : {
You can’t perform that action at this time.
0 commit comments