Choose Import, paste your PostgreSQL DDL, and review the tables the parser found. Primary keys and foreign keys become visible on the canvas. Rearrange the diagram, edit the model, then use Export SQL when you are ready to take the schema back to a migration.
The importer works from schema SQL, so it does not need a database password or a live production connection.
See the SQL-to-ER-diagram workflow