mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
doctrine:database:create command bug with sharding #5690
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gibgibik on GitHub (Sep 5, 2017).
I have two shards. In my tests, I create databases with follow commands:
It looks like this command ignores shard option. It throws the following exception:
Here is my doctrine config:
Another command (doctrine:migrations:migrate --shard=1) works correctly. I resolve this problem temporary, by copying CreateDatabaseDoctrineCommand and changing following lines:
@beberlei commented on GitHub (Sep 16, 2017):
Fixed in
1aa2acd933