added script to migrate jobs table schema (bug fix)