mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-91: Oracle, Pgsql and Sqlite SchemaManager::listTableIndexes() currently can't return corresponding columns #109
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 @doctrinebot on GitHub (Nov 1, 2009).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
Currently only the Mysql Platform can return the corresponding columns of an index, the others only return index-name and a boolean isUnique.
The Mysql platform also returns the data in an unaggregated way, that means an index "Foo" with two columns "bar", "baz" is returned as.
It is possible to retrieve the column names of indexes, for example ezcDatabaseSchema does it perfectly easy.
I propose to change the API of SchemaManager::listTableIndexes() to the following:
This might be related to Import/Export Schema of Doctrine 1.x, how are indexes handled in this version?
This issue is related to DDC-90, which can't be implemented without proper index column support..