Feature: @:caseSensitive metafield for text fields
Allows you to control case-sensitivity for text columns
@:caseSensitive(default) - Use the default db case sensitivity (default, current behaviour)
@:caseSensitive(false) - Make this column case-insensitive (COLLATE NOCASE with sqlite)
@:caseSensitive(true) - Make this column case-sensitive (COLLATE binary with MySql)
Would you add some tests? Currently we only test sqlite in CI, but it's better than having nothing. You may add the test functions in test/Test.hx, or use a separate class if needed.
test cases added, and fixed a sloppy bug with it not working with MySQL
Now there is a conflict so the PR cannot be merge. Would you merge the current master or rebase on top of it?
👍