Skip to content

Handle case when migrate:install command is called and table exists#54938

Merged
taylorotwell merged 4 commits into
laravel:12.xfrom
joe-tito:handle_migration_install_already_exists
Mar 10, 2025
Merged

Handle case when migrate:install command is called and table exists#54938
taylorotwell merged 4 commits into
laravel:12.xfrom
joe-tito:handle_migration_install_already_exists

Conversation

@joe-tito

@joe-tito joe-tito commented Mar 7, 2025

Copy link
Copy Markdown
Contributor

The migrate:install command is frequently used in application install scripts.

To ensure smooth deployments in containerized environments where install scripts are called on every deployment, Laravel should handle the case where this table already exists and not cause deployment failure.

@taylorotwell taylorotwell merged commit e6753fc into laravel:12.x Mar 10, 2025
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.

3 participants