HR-ATS-Portal/backend/migrations/manual
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
..
001_dashboard_rbac_and_enum.sql . 2026-08-12 18:52:40 +05:00
002_backfill_inbox_ats.sql listy of pipeline done 2026-08-13 17:25:50 +05:00
003_seed_social_platforms.sql pipeline done 2026-08-13 13:29:02 +05:00
004_tasks_rbac.sql Tasks domain: real backend + live screen with DB users/roles as assignees 2026-08-13 16:27:19 +05:00
005_tasks_rbac_restrict.sql Tasks: recruiter-only assignees, role-gated creation, assignees API 2026-08-13 17:54:50 +05:00
006_seed_feedback_templates.sql . 2026-08-17 20:37:30 +05:00
007_talent_rbac.sql Talent tab: LinkedIn sourcing per job via Apify 2026-08-20 22:27:18 +05:00
008_hiring_forms_rbac.sql Candidate hiring forms (Annexure A/E/J), full-page profile, UX audit fixes 2026-08-24 20:14:36 +05:00
009_job_post_images.sql Job cover images: move storage from disk into the database 2026-08-27 16:34:04 +05:00