postgresql create table primary key foreign key