Skip to content
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

No Indexes in MySQL #368

Closed
gmuehl opened this issue Jan 13, 2015 · 1 comment
Closed

No Indexes in MySQL #368

gmuehl opened this issue Jan 13, 2015 · 1 comment
Assignees
Labels
Bug Something isn't working Duplicate This issue or pull request already exists Question Further information is requested

Comments

@gmuehl
Copy link

gmuehl commented Jan 13, 2015

Not sure if it is a Bug of the DoctrineORMModule, though, custom Indexes are not Created. When i add the following Code to the Comment of the Class Definition

@ORM\Table(
    name="test",
    indexes={
        @ORM\Index(name="test_idx", columns={"testfield"})
    }
)

NOTHING happens! Not even a Error Message, the Doctrine Tool tells me, that the Table is still in Sync. After that i add the Index manually in MySQL and the Doctrine Tool tells me, that the Table is no longer in Sync and wants to drop the Index. For me it looks like the "indexes" Part is totally ignored, though, i have no Idea why and where to put the Bug Report?

@Ocramius
Copy link
Member

This is likely related to doctrine/dbal#769

@Ocramius Ocramius self-assigned this Jan 13, 2015
@Ocramius Ocramius added Bug Something isn't working Question Further information is requested Duplicate This issue or pull request already exists labels Jan 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Duplicate This issue or pull request already exists Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants