Fix job_recipe_id is nullable
Database access from web application