Skip to content

Commit

Permalink
fix(db-postgres): validateExistingBlockIsIdentical with other tables
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRibbens committed Jan 14, 2024
1 parent 3b88adc commit 0647c87
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ const getFlattenedFieldNames = (fields: Field[], prefix: string = ''): string[]
let fieldPrefix = prefix

if (
field.type === 'blocks' ||
field.type === 'array' ||
['array', 'blocks', 'relationship', 'upload'].includes(field.type) ||
('hasMany' in field && field.hasMany === true)
) {
return fieldsToUse
Expand Down

0 comments on commit 0647c87

Please sign in to comment.