When you create a reference, PowerDesigner can automatically reuse an appropriate existing column in the child table as the foreign key column and migrate the primary key column in the parent table to create a foreign key column in the child table.
Options Selected |
Matching Child Table Column Exists |
Matching Child Table Column Is Already a FK Column |
---|---|---|
[Original tables before migration] | The child table contains a matching column for one
of the primary key columns: |
The child table contains a matching column that is
already a foreign key column for another table: |
[default] Auto-reuse and Auto-migrate |
Col_1 is reused and Col_2 is created: |
T1_Col_1 and Col_2 are created: |
Auto-migrate only |
T1_Col_1 and Col_2 are created: |
T1_Col_1 and Col_2 are created: |
Auto-reuse only |
Col_1 is reused but Col_2 is not created: |
No columns are reused or created: |
Neither |
No column is reused or created |
No columns are reused or created: |
For more information about other reference model options, see Reference Model Options.