[fixes #42960865] Add missing foregin keys