-
-
Notifications
You must be signed in to change notification settings - Fork 447
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
[Command] doctrine:database:create does not work with commentedTypes anymore #672
Comments
@elementaire what dependencies changed? Can you check if the DBAL changed too? |
@Ocramius The full log :
|
Hmm, so the change is indeed only isolated in here |
@Ocramius Found ! The issue comes from the The pull request which introduces the bug is #623 (cc @mikeSimonson, @stof). My doctrine configuration is :
I need to overwrite the default Doctrine's DateTime Types to always record in UTC the data. |
@elementaire Your problem is more likely related to the fact that you miss the Can you try with that configuration option ? |
I have never heard before of the Though, i dislike the idea to manually fix and adapt the It does not sound like a friendly functionnality for the developpers, because it was magic before (for bad reasons, i understand). I feel perplexed whereas -- edit : it is funny, whatever i write in this variable (Eg. 9.4.8, 9.4, 9, 5, 2, ...), it solves the bug. |
Same issue, same bundle version... Symfony 3.3.* I don't know if it is relevant, but the database name is wrong in my exception message: it is all lowercase while I'm naming my database in CamelCase. Trying with |
As stated in documentation:
|
Anyway, this is a parameter that should be added to the default generated configuration of Doctrine as it is practically required... |
same issue here. what changed from version 1.6.7 to 1.6.8 that the server_version configuration got mandatory? UPDATE: ok found it for me. this fix 99a62a7#diff-5b0dbf30dd0e8ce451fd72020914e62c caused my problem. although i use commentedTypes in my project, $platform->getDatabasePlatform() was not called until now. |
Issue solved. Closing. |
Hello,
I updated my Symfony project via the
composer update
command. The doctrine-bundle moved to the version 1.6.8.But, I can't use the command
php bin/console doctrine:database:create
anymore. Indeed, I get this error :I tried to downgrade the version in the composer.json to 1.6.7. No error.
I am using PostgreSQL 9.4.8 (Ubuntu Unity 15.10).
Is this a bug in this tag version ?
-- edit : i corrected the version.
The text was updated successfully, but these errors were encountered: