Hi,
I would like to be able to specify that a text field should be case-insensitive. I am wondering whether this could be considered for inclusion? I would be happy to create a PR.
Some databases default to case-insensitive for text fields (e.g. MariaDB), others do not but have a case-insensitive version (e.g. citext for PostgreSQL or COLLATE NOCASE for Sqlite). I would like to be able to create a schema that is consistent regardless of which database is in use.
I am thinking an option to a field, something like is_case_insensitive - what do you think?
Thanks, Andy
Hi,
I would like to be able to specify that a text field should be case-insensitive. I am wondering whether this could be considered for inclusion? I would be happy to create a PR.
Some databases default to case-insensitive for text fields (e.g. MariaDB), others do not but have a case-insensitive version (e.g. citext for PostgreSQL or COLLATE NOCASE for Sqlite). I would like to be able to create a schema that is consistent regardless of which database is in use.
I am thinking an option to a field, something like
is_case_insensitive- what do you think?Thanks, Andy