-- Add job_id column to processing_jobs table
ALTER TABLE processing_jobs ADD COLUMN job_id VARCHAR(255);

-- Add index for efficient querying by job_id
CREATE INDEX idx_processing_jobs_job_id ON processing_jobs(job_id);

-- Add comment to document the column purpose
COMMENT ON COLUMN processing_jobs.job_id IS 'External job ID from the job queue system'; 