CORE-1825 Snapshot does not capture foreign keys referencing unique constraints

CORE-1635 Generated changelog missing unique constraints should be output before foreign keys