Skip to content

Conversation

@jeremystretch
Copy link
Member

Closes: #12318

  • Introduce two new database collations for und-u-ks-level2 (case-insensitive) and und-u-kn-true-ks-level2 (case-insensitive natural sort)
  • Alter all model CharFields which are referenced for uniqueness to use a case-insensitive collation in the PostgreSQL database
  • Remove all varchar_pattern_ops indexes attached to these fields (not supported with non-deterministic collations)
  • Alter the UniqueConstraints on the Device and VirtualMachine models to reference the name field without calling Lower()

@jeremystretch jeremystretch force-pushed the 12318-case-insensitive-uniqueness branch from 153a6d8 to 4f2f61c Compare October 24, 2025 19:26
@jeremystretch jeremystretch changed the title 12318 case insensitive uniqueness Closes #12318: Ignore case when determining uniquess of name & slug fields Oct 24, 2025
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.

1 participant