Skip to content

Craft Schema Version #10192

Answered by brandonkelly
hiasl asked this question in Ideas
Dec 1, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

There are some cases where multiple migrations are added to a single release, in which case the schema version is incremented multiple times. E.g. by the time 3.7.0 was tagged, the schema version was already up to 3.7.7:

'schemaVersion' => '3.7.7',

I like the idea though. Something to consider for 4.0 and onward. In cases where there are multiple migrations, we could just start incrementing another dot (4.0.0.10 instead of 4.0.10).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brandonkelly
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants