Get the migration path for a document
Document to check
Array of migration steps, empty if no migration needed
Get the migration path for a document