-
Notifications
You must be signed in to change notification settings - Fork 31
Upgrade Doctrine packages to latest major versions #286
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
Conversation
c93aad9 to
926763e
Compare
|
tests are failing there, for some database-related issue, which is likely related. |
|
Yes, I tried to fix them, but wasn't successful :-( |
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.
As you have upgraded DBAL to version 4, I think the strategy used for AUTO has changed for Postgresql. This probably requires generating a DB migration to have the DB schema in sync with the behavior of the code, or changing the DoctrineBundle config to restore the previous behavior.
|
See https://github.com/doctrine/dbal/blob/4.4.x/UPGRADE.md#bc-break-auto-increment-columns-on-postgresql-are-implemented-as-identity-not-serial and https://github.com/doctrine/orm/blob/3.5.x/UPGRADE.md#bc-break-auto-keyword-for-identity-generation-defaults-to-identity-for-postgresql-when-using-doctrinedbal-4 As the existing setup uses the sequence generator for
|
|
Thanks, will have a look |
4ef0267 to
788bf69
Compare
- doctrine/dbal: ^2.13 → ^4.2 - doctrine/doctrine-bundle: ^2.4 → ^2.13 - doctrine/doctrine-migrations-bundle: ^3.0 → ^3.4 - doctrine/orm: ^2.7 → ^3.3 - Remove doctrine/common (no longer required) - Remove naming_strategy config (now default in ORM 3.x) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
788bf69 to
678dea1
Compare
|
@stof I could not go with CPP as it cannot generate the name properly |
Closes #258