add foreign key to mapping entity