add a primary key to the jobs table

@icewind1991 @DeepDiver1975