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 case-sensitive KV support #54

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Add case-sensitive KV support #54

wants to merge 11 commits into from

Conversation

zerowidth
Copy link
Member

This PR is a continuation of the bugfix in #53:

  • Adds --table-name to the migration generator and config (for easier use, and for use in tests)
  • Adds --case-sensitive to the migration generator to update the KV table to use the case-sensitive utf8_bin collation for the key column and table.
  • Adds config support for config.case_sensitive = true to enable case-sensitive behavior in the KV library.

@@ -73,6 +79,16 @@ def test_get_and_set_case_insensitive
assert_equal "uppercase", @kv.get("FOO").value!
end

def test_get_and_set_case_insensitive

Choose a reason for hiding this comment

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

Suggested change
def test_get_and_set_case_insensitive
def test_get_and_set_case_sensitive

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.

None yet

2 participants