create failed jobs table