display primary key and foreign key on metadata page