Restore IF NOT EXISTS for hash_id index creation

This was removed from `dev` and was causing the DB tests to fail.
3 jobs for adinapoli/restore-ci in 7 minutes and 11 seconds (queued for 4 seconds)
latest
Status Job ID Name Coverage
  Stack
passed #8371
stack

00:00:41

 
  Cabal
passed #8372
cabal

00:02:36

 
  Test
passed #8373
test

00:03:53