Fix missing CASCADE to Job.source_id/Source.jobs
Explicitly make most database columns NOT NULL