zlacker

[parent] [thread] 1 comments
1. verdve+(OP)[view] [source] 2021-08-19 15:13:39
I'm not sure the concurrency key can solve the issue of old code after new code, in the general case.

What happens if there are conflicting migrations on two "parallel" branches?

What happens in you bad luck situation when commits are pushed in rapid succession on the same branch?

replies(1): >>danpal+2r2
2. danpal+2r2[view] [source] 2021-08-20 09:25:45
>>verdve+(OP)
With the concurrency key at the top level, actions run it commit order.

As for running migrations on the same database from multiple branches, not a good idea. Probably best to decide on the branch that is the release branch (maybe main/master) and only deploy from that.

[go to top]