Enforcing Primary key and foreign key.