Fix documentation to say primary key rather than foreign key

This confused me for about half a day before I looked at how the tests did it and realised they were using the PK and not the FK