Repository navigation
docs: freeze the v2 baseline migrations from the first beta - #2941
Open
glennjacobs wants to merge 1 commit into
Open
glennjacobs wants to merge 1 commit into
glennjacobs wants to merge 1 commit into
Conversation
From 2.0.0-beta.1 every schema change goes in a new migration and no baseline migration is edited. A new migration is not added to the v1 upgrade's v2_baseline list, so upgraded stores run it through migrate and the upgrade package needs no matching migration. Folding stays the rule until that tag. The alpha upgrade guide stops growing at the beta rather than at 2.0.0. Amp-Thread-ID: https://ampcode.com/threads/T-8ecb4cbd-8657-4f41-8f71-6de8c214834c Co-authored-by: Amp <amp@ampcode.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets the migration policy for the beta. No code changes.
CLAUDE.md, Migrations
2.0.0-beta.1), the2026_01_01_*baseline is frozen. Every schema change goes in a new migration in the package that owns the table, dated when it's written, and no baseline migration is edited.v2_baselineinpackages/upgrade/config/upgrade.php. The v1 upgrade marks only those files as run, so an upgraded store runs the new migration throughphp artisan migrate, and theupgradepackage needs no matching migration.upgrademigration each fold needs when v1 has the table.metain core" bullet points at the Migrations rule instead of saying "baseline while v2 is in alpha".Alpha upgrade guide
When the beta is tagged, the guide's "Next release" section becomes its
2.0.0-beta.1section, as earlier releases did.