HR-ATS-Portal/backend/job/job_post
Talha Ahmed ccec7d48db
Deploy to S3 / deploy (push) Successful in 31s Details
Job cover images: move storage from disk into the database
Production containers have ephemeral filesystems, so the disk-backed
image from the previous commit would vanish on redeploy. New
job_post_images table (bytea, PK = job_posts FK so re-upload replaces),
created everywhere by manual migration 009 which run_manual_sql applies
automatically at startup — prod boots with DB_AUTOGENERATE=false and
never autogenerates tables. Upload/fetch endpoints unchanged for the
frontend; fetch now serves bytes from the row. The one locally stored
disk image was imported into the table and backend/uploads removed.

E2E re-verified: create-with-image 200, fetch 200, cover renders.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-27 16:34:04 +05:00
..
export.py Real Excel export for the Jobs list 2026-08-19 20:10:42 +05:00
models.py Job cover images: move storage from disk into the database 2026-08-27 16:34:04 +05:00
plugins.py Job posts: remove the salary field 2026-08-27 16:09:30 +05:00
serializers.py Enhance interview and job functionalities 2026-08-20 16:41:21 +05:00
views.py Job cover images: move storage from disk into the database 2026-08-27 16:34:04 +05:00