[OE-2546] added migration code for complications
Merge branch 'jira/2546' into feature/orbis