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

Add indexes to schema for specs #474

Merged
merged 3 commits into from
Mar 21, 2014
Merged

Add indexes to schema for specs #474

merged 3 commits into from
Mar 21, 2014

Commits on Mar 21, 2014

  1. Configuration menu
    Copy the full SHA
    15ba40f View commit details
    Browse the repository at this point in the history
  2. adding using_mysql? to utils so we have a quiz method for each db typ…

    …e. Also added a quiz method for case insensitive collation. Its important to know when testing case sensitivity.
    jonseaberg committed Mar 21, 2014
    Configuration menu
    Copy the full SHA
    23c552d View commit details
    Browse the repository at this point in the history
  3. adjusted specs to account for the unique index on tag.name.

    Some case sensitive specs are not able to run on mysql because the default is case insensitive collation.  This combined with a unique index makes adding tags Awesome and awesome impossible because the database sees them as the same thing.  To make some of the case sensitive spec pass on mysql, I had to remove the index just for those specs.  I added a shared_example that is included where needed.
    jonseaberg committed Mar 21, 2014
    Configuration menu
    Copy the full SHA
    cb8d6e6 View commit details
    Browse the repository at this point in the history