[MIG-77] Fixed migration of FK, which references a table in another schema