Skip to content

Option for case-insensitive text field #200

Description

@abeverley

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions