[odb-users] Enforcing primary key in 1-N relationship

Boris Kolpackov boris at codesynthesis.com
Tue Nov 27 08:07:38 EST 2012


Hi Davide,

Davide Anastasia <Davide.Anastasia at qualitycapital.com> writes:

> I wonder whether there is a method to enforce that every value in the
> "employer_employees" table is also primary key (avoid duplication).

At the moment the only way that I can think of is manually via the
ALTER TABLE ADD CONSTRAINT statement.

Boris



More information about the odb-users mailing list