fix(history): don't let different migration directories interfere with each other even though they share storage
This commit is contained in:
parent
cf17e48f25
commit
9447d28ad8
4 changed files with 21 additions and 9 deletions
5
.changeset/heavy-lobsters-attack.md
Normal file
5
.changeset/heavy-lobsters-attack.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/cli': patch
|
||||
---
|
||||
|
||||
Ignore migration history entries not belonging to the current migration directory when considering what to list or execute. This way a project can have multiple folders with different kind of migration sets or multiple projects can share the same migration history without any of them conflicting or blocking each other in case of failed migrations.
|
||||
Loading…
Add table
Add a link
Reference in a new issue