Fork me on GitHub
#sql
<
2022-07-26
>
pinkfrog16:07:09

I am not sure about what this paragraph really means

In contrast, using a single global version for a store and incremented integers for migration versions, it is possible for a higher numbered migration to get merged to master and deployed before a lower numbered migration, in which case the lower numbered migration would never get run, unless it is renumbered.
My question is, even if the version number is based on time, the possibility that a higher time value gets merged before a lower one still exists. So what’s the difference?

seancorfield16:07:02

It's more about storing each individual migration ID to see what has been applied (rather than assuming you can just compare two "numbers" to figure out what needs to be applied).

seancorfield16:07:55

It could be clearer that is what it is contrasting it against:slightly_smiling_face: