Browse Source

fix(nocodb): allow foreign key

pull/5570/head
Wing-Kam Wong 2 years ago
parent
commit
9e937d1cc6
  1. 3
      packages/nocodb-nest/src/db/BaseModelSqlv2.ts

3
packages/nocodb-nest/src/db/BaseModelSqlv2.ts

@ -3361,7 +3361,8 @@ function shouldSkipField(
if (
!(viewOrTableColumn as GridViewColumn)?.show &&
!(column.rqd && !column.cdf && !column.ai) &&
!column.pk
!column.pk &&
column.uidt !== UITypes.ForeignKey
)
return true;
if (

Loading…
Cancel
Save