Case insensitive emails and usernames with Postgres
TLDR: Use case insensitive text (citext) in Postgres, and don’t worry about email/usernames in application code.
TLDR: Use case insensitive text (citext) in Postgres, and don’t worry about email/usernames in application code.
How to use Phoenix generators with PostGIS column types, with minimal changes to get tests, changesets, and schema working.