-
Notifications
You must be signed in to change notification settings - Fork 12
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
Next 2.0 version configuration improvements #162
base: main
Are you sure you want to change the base?
Conversation
pounard
commented
May 28, 2024
- Rename lots of configuration options for consistency (deprecation only, your configuration will not break).
- Fix some documentation.
- Introduce environment variables for configuration.
55e930e
to
4cbd3fe
Compare
b8bdfb2
to
1507fde
Compare
4340051
to
fffe5a9
Compare
0d1b966
to
beefd06
Compare
fffe5a9
to
164d0d8
Compare
5835a02
to
d0791ff
Compare
079cc2a
to
0a07d89
Compare
164d0d8
to
41c33c3
Compare
```yaml [Standalone] | ||
connections: | ||
connection_one: "pgsql://username:password@hostname:port?version=16.0&other_option=..." | ||
connection_two: "mysql://username:password@hostname:port?version=8.1&other_option=..." | ||
``` | ||
|
||
Keys are connection names for idenfying those as a command line option, values are | ||
database URL containing all necessary information and options for connecting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be you can start by documenting when there is only one connection (which will be most cases) and then specify that you can provide multiple
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I though I fixed this, I may have broke it during merge. I'll rewrite this part of the documentation.
### Dumping from Symfony configuration | ||
|
||
:::warning | ||
When using the CLI tool, you are not in the Symfony application context anymore, | ||
which means the CLI tool doesn't know the Symfony database configuration, doctrine | ||
connections or doctrine ORM mapping. | ||
::: | ||
|
||
@todo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this command exist now ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope I opened #156 for this, maybe I should simply remove this file until it does.
Co-authored-by: Simon MELLERIN <[email protected]>
Co-authored-by: Simon MELLERIN <[email protected]>
Co-authored-by: Simon MELLERIN <[email protected]>
Co-authored-by: Simon MELLERIN <[email protected]>