Avoid PK on varchars. Create an `errorid` autoincrement instead?