Updated db model

Updated model to have selected jobs and ignored jobs.