fix onConflict for components

This commit is contained in:
Pierre Noël 2022-09-27 12:07:59 +02:00
parent 8e5543b21d
commit 3acb08cd5b

View File

@ -215,7 +215,7 @@ const createComponent = (attributeName, attribute, meta) => {
orderBy: {
order: 'asc',
},
pivotColumns: ['entity_id', 'component_id', 'field'],
pivotColumns: ['entity_id', 'component_id', 'field', 'component_type'],
},
});
};