Skip to content

[10.x] Prevent session:table command from creating duplicates - #48602

Merged
taylorotwell merged 4 commits into
10.xfrom
prevent-duplicate-session-table-migration
Oct 2, 2023
Merged

taylorotwell merged 4 commits into
10.xfrom
prevent-duplicate-session-table-migration

Conversation

@jessarcher

@jessarcher jessarcher commented Oct 2, 2023 •

Copy link
Copy Markdown
Member

This PR adds a check to prevent the session:table command from creating multiple migrations for the session table, which will fail when migrating.

image

We have a check for this in the Jetstream installer, but it doesn't work with anonymous migrations. Rather than fix it there, I've created laravel/jetstream#1385 to remove the check in favour of doing it here.

@taylorotwell
taylorotwell merged commit cd68b64 into 10.x Oct 2, 2023
@taylorotwell
taylorotwell deleted the prevent-duplicate-session-table-migration branch October 2, 2023 01:15
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.

2 participants