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

Fixes for MySQL #2468

Merged
merged 3 commits into from
Jan 2, 2018
Merged

Fixes for MySQL #2468

merged 3 commits into from
Jan 2, 2018

Conversation

jhawthorn
Copy link
Contributor

@jhawthorn jhawthorn commented Dec 21, 2017

Fixes a few issues with MySQL.

Notably, the roll-up migration added a database partial index which only worked properly under MySQL. This PR changes the migration to only add the index on databases supporting partial indexes.

The "where" clause of this unique index doesn't work under MySQL, which
indexes the whole table. Previously it was wrapped in an if condition.

This was broken as part of the roll-up migration.
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks

With CircleCI 2.0 workflows we now can build matrices https://discuss.circleci.com/t/build-matrix-configuration/14448

Maybe we should start to test against MySQL as well? We do for all extensions, though

@jhawthorn jhawthorn merged commit 36bb217 into solidusio:master Jan 2, 2018
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.

2 participants