HR-ATS-Portal/backend/migrations
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
..
manual Job cover images: move storage from disk into the database 2026-08-27 16:34:04 +05:00
versions Merge branch 'main' of https://git.utopiadeals.com/utopia-ai/HR-ATS-Portal into Dashboard_Wiring 2026-08-12 14:00:07 +05:00
env.py stashed 2026-08-03 15:42:38 +05:00
script.py.mako pdf product converted 2026-08-03 19:55:01 +05:00