[db] Ensure lowercase where case-insensitive

Bug #401320 reported by Stefano Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Low
Stefano Rivera

Bug Description

Whenever we do this
.filter(func.lower(Identity.source) == event.source.lower())
we are bypassing our indexes and having to write ugly code.

Let's just get the stuff right in the first place.

The ORM object can ensure that things are stored in the correct case.

Related branches

Changed in ibid:
assignee: nobody → Stefano Rivera (stefanor)
status: New → In Progress
Changed in ibid:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.