[OE-2882] added foreign keys
Merge branch 'release/1.4-moorfields' into feature/orbis