Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: zen on February 07, 2007, 05:20:11 am

Title: Primary and Foreign Key naming
Post by: zen on February 07, 2007, 05:20:11 am
Is there a way to define how these names are generated?

Currently EA defines Primary Key as PK_tablename and Foreign Key names as FK_tablename_parenttablename.

I like to define them tablename_pkey and tablename_fk1, tablename_fk2, etc.

Similarly with unique constraints.

Title: Re: Primary and Foreign Key naming
Post by: thomaskilian on February 07, 2007, 10:30:45 am
You would need to investigate Settings/Transformation templates/DDL