diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/explanation.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/explanation.md b/docs/explanation.md index 1d1393b..469a5e6 100644 --- a/docs/explanation.md +++ b/docs/explanation.md @@ -176,6 +176,7 @@ Bolt needs to sort migrations to determine the correct application order. Consid ``` How should these be sorted? As strings: + - `001` comes before `002` comes before `20240316145038` ✓ But what if you had: @@ -186,9 +187,11 @@ But what if you had: ``` Now the string sorting would be: + - `001`, then `002`, then `20240316145038` But the chronological creation order was: + - `001`, then `20240316145038`, then `002` This creates ambiguity about the intended order. @@ -196,6 +199,7 @@ This creates ambiguity about the intended order. ### Parsing Complexity Bolt parses version numbers according to the configured version style: + - **Timestamp style**: Expects exactly 14 digits in `YYYYMMDDHHMMSS` format - **Sequential style**: Expects an integer (any length) |