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

Update CreateSchemaListener.php #181

Merged
merged 2 commits into from
Apr 8, 2016
Merged

Update CreateSchemaListener.php #181

merged 2 commits into from
Apr 8, 2016

Conversation

TheRatG
Copy link
Contributor

@TheRatG TheRatG commented Apr 6, 2016

Optimize queries

@DavidBadura
Copy link
Contributor

👍

@tolry
Copy link
Contributor

tolry commented Apr 7, 2016

EntityAudit still supports php 5.3.x (at least, according to composer.json). Could you use the old array syntax here? Otherwise 👍 from me too.

@smoench
Copy link
Contributor

smoench commented Apr 7, 2016

but there is another failure:

Doctrine\ORM\Tools\ToolsException: Schema-Tool failed with Error 'An exception occurred while executing 'CREATE INDEX revision_idx ON UserAudit_audit (rev)':
SQLSTATE[HY000]: General error: 1 index revision_idx already exists' while executing DDL: CREATE INDEX revision_idx ON UserAudit_audit (rev)

@TheRatG
Copy link
Contributor Author

TheRatG commented Apr 7, 2016

Ok.

@TheRatG
Copy link
Contributor Author

TheRatG commented Apr 7, 2016

rev_idx fixed

Reason:
pdo_sqlite gives SQLSTATE[HY000]: General error: 1 index rev_idx already exists

CREATE INDEX rev_idx ON OwnerEntity_audit (rev);
CREATE INDEX rev_idx ON OwnedEntity1_audit (rev);

@deeravenger
Copy link

Nice! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants