Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: option to specify laravel migration connection #462

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aagjalpankaj
Copy link

No description provided.

@aagjalpankaj aagjalpankaj marked this pull request as draft October 8, 2024 09:10
@aagjalpankaj
Copy link
Author

In our organization every Laravel application has two DB connections - application, deploy. application user has DML and deploy user has DDL permissions. Default connection is DB_CONNECTION=application set in .env. While executing migrate command we can specify which connection we want to use. This PR allows us to set the same as environment variable.

@jaydrogers / @danpastori What do you think about this change?

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