forked from Archives/Athou_commafeed
* postgresql stores foreign key names in lower case by default, so the precondition was erroneously passing * check for the presence of a primary key instead
* postgresql stores foreign key names in lower case by default, so the precondition was erroneously passing * check for the presence of a primary key instead