Skip to content

Declare where each framework keeps its migrations - #88

Merged
geodro merged 1 commit into
mainfrom
feat/worktree-migrations
Sep 25, 2026
Merged

geodro merged 1 commit into
mainfrom
feat/worktree-migrations

Conversation

@geodro

@geodro geodro commented Sep 24, 2026

Copy link
Copy Markdown
Member

Adds worktree.migrations to the Laravel, Lumen, Symfony, CodeIgniter 4 and CakePHP definitions, so lerd can compare a new worktree's migrations with the parent checkout's and pick its database. Older lerd versions ignore the key.

Refs lerd-env/lerd#1964

lerd compares the files in this folder between a new worktree and the parent checkout to pick the worktree's database, so a branch whose schema differs from the parent's no longer shares its database by default. Older lerd versions ignore the key.
@geodro
geodro requested a review from a team as a code owner September 24, 2026 18:27
@geodro
geodro merged commit 5a513f8 into main Sep 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant