fix(history): support a migration history with entries without file extensions (.js is assumed in such case)

This commit is contained in:
Joakim Carlstein 2024-01-18 15:11:51 +01:00 committed by Joakim Carlstein
parent 114979f154
commit 73a8a42e5f
4 changed files with 67 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
'@emigrate/cli': patch
---
Support stored migration histories that have only stored the migration file names without file extension and assume it's .js files in that case. This is to be compatible with a migration history generated by Immigration.