Question about dependecy resolution #1439
-
Hi everyone! I'm working on a project with multiple branches, and I'm finding something funny when running my migrations... I have a
Now, my expectation was that if I ran
With the execution sort of jumping back and forth between the However, what I'm getting is
Is this the expected behavior? Is there anything I can do to get Thanks, Fernando |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
if there's no relationship between C and B' then yes it's expected that these two migrations may occur in any order. so if your migrations have an ordering requirement that C must occur after B', add this relationship using a dependency, that is, the |
Beta Was this translation helpful? Give feedback.
if there's no relationship between C and B' then yes it's expected that these two migrations may occur in any order.
so if your migrations have an ordering requirement that C must occur after B', add this relationship using a dependency, that is, the
depends_on
label. see that documented section for examples, here you'd want to make C dependent on B'.