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

[doctrine/doctrine-bundle] dont duplicate the db settings #674

Merged
1 commit merged into from Nov 13, 2019
Merged

[doctrine/doctrine-bundle] dont duplicate the db settings #674

1 commit merged into from Nov 13, 2019

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Nov 13, 2019

Q A
License MIT
Doc issue/PR -

I've spent hours of debugging because the db driver was set differently in two places: the yaml and the .env files.

Actually, we don't need the duplication at all. Let's favor the .env since it is now always loaded.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

charset: utf8mb4
default_table_options:
charset: utf8mb4
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is not needed, the above charset is copied here by default already

@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Nov 13, 2019

thus, Saas hosting are very unlikely to provide such query parameters in their DATABASE_URL (even the serverVersion is probably not there)

that's why the comments are needed - for these setups (SFCloud sets the option serverVersion already in case anyone is wondering).

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

This pull request was closed.
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.

None yet

5 participants