[db] fix schema and migration for case insensitivity

Some of the columns that were changed still want to be
case insensitive. Good thing our tables have nice
separation.

Signed-off-by: Kevin Morris <kevr@0cost.org>
1 job for master in 31 seconds (queued for 1 second)
Status Name Job ID Coverage
  Test
passed test #25009

00:00:31