You can easily document your database with Data Modeler: just reverse engineer the database with File-> Import -> Data Dictionary. But what if the database has no foreign keys? Whatβs the point of documenting then? Just tables that has nothing to do with each otherβ¦.
Well, Data Modeler can help with that too: you can use βDiscover Foreign Keysβ functionality to find the foreign keys that should be in the database and even generate the DDLs for them if neededβ¦
There are two ways Data Modeler can guess the foreign keys for you: the column has the same name as a primary key column in parent table or using the naming templates. And combinations of those.
Select the relational model from the Browser. Right-click and select βDiscover Foreign Keysβ. I have two tables: CUSTOMER and ORDER.

I will ask Data Modeler to find me the foreign keys.
If I selectβ¦