fix(cli): handle migration history entries without file extensions correctly
...even when the migration file names include periods in their names.
This commit is contained in:
parent
ea327bbc49
commit
b56b6daf73
5 changed files with 168 additions and 61 deletions
5
.changeset/eleven-knives-learn.md
Normal file
5
.changeset/eleven-knives-learn.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/cli': patch
|
||||
---
|
||||
|
||||
Handle migration history entries without file extensions for migration files with periods in their names that are not part of the file extension. Previously Emigrate would attempt to re-run these migrations, but now it will correctly ignore them. E.g. the migration history contains an entry for "migration.file.name" and the migration file is named "migration.file.name.js" it will not be re-run.
|
||||
Loading…
Add table
Add a link
Reference in a new issue