5 ms·
You could also have CHECK constraints on those columns to ensure that nothing is written incorrectly, and/or a pre-write trigger that casts them to lowercase.
by sgarland 2y ago
You could also have CHECK constraints on those columns to ensure that nothing is written incorrectly, and/or a pre-write trigger that casts them to lowercase.
Or you could make the email column case-insensitive, since it’s generally accepted to be CI anyway.