#291 Add indexes to db