Hi. Can anyone please explain to me how to create ...
# advice-metadata-modeling
e
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
Hi Nadia, I believe you can adjust the foreign key in schemaMetadata.foreignKeys https://datahubproject.io/docs/generated/metamodel/entities/schemafield/#incoming
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