Migrate an Alternate Key as a Foreign Key
Primary key attributes or columns automatically migrate from a parent to child entity or table when you connect them using a relationship. You can specify, for an individual relationship, that the alternate key attributes or columns migrate to the child entity or table as a foreign key instead of the primary key attributes or columns.
To migrate an alternate key as a foreign key
- Click Relationships on the Model menu.
The Relationships editor opens.
- Click the Rolename tab.
The Rolename tab opens.
- Select the alternate key to migrate as a foreign key in the Migrated Key list, optionally assign a rolename, then click OK.
The alternate key is migrated as a foreign key and the Relationships editor closes.
Copyright © 2018 erwin, Inc.
All rights reserved.
|
|