add validation/constrain for foreign key