inherited tables need to define the primary/foreign key constraints again!