Join Slack
Powered by
Hi. Can anyone please explain to me how to create ...
# advice-metadata-modeling
e
elegant-salesmen-99143
11/02/2022, 12:19 PM
Hi. Can anyone please explain to me how to create these 'Primary Key' and 'Foreign Key' markers that I can see in Demo? Also can they be created for Postgres DB?
a
astonishing-answer-96712
11/02/2022, 5:32 PM
Hi Nadia, I believe you can adjust the foreign key in schemaMetadata.foreignKeys
https://datahubproject.io/docs/generated/metamodel/entities/schemafield/#incoming
astonishing-answer-96712
11/02/2022, 5:34 PM
There’s an entry in the documentation for MlPrimaryKey but I’m not positive that’s what you’re seeing here
https://datahubproject.io/docs/generated/metamodel/entities/mlprimarykey
Open in Slack
Previous
Next