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

Properly handle case_sensitive? for mysql #1

Open
ronen opened this issue Apr 20, 2016 · 0 comments
Open

Properly handle case_sensitive? for mysql #1

ronen opened this issue Apr 20, 2016 · 0 comments

Comments

@ronen
Copy link
Member

ronen commented Apr 20, 2016

ActiveRecord's mysql adapter provides a case_sensitive? method, which checks the column collation type. By a lucky accident, schema_plus_columns doesn't actually override the mysql method -- see @dmeranda's analysis in SchemaPlus/schema_validations#38,

But the code, specs, and README should make explicit that mysql's native method is respected. In fact the index-based hack used for postgresql should be documented explicitly as a hack since no native method is available.

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

No branches or pull requests

1 participant