Jul 14 - Preparation for using CDN - fix issue

This commit is contained in:
2026-07-14 11:33:17 -04:00
parent 6c740772af
commit 42f9e4670c
2 changed files with 17 additions and 12 deletions
+3 -2
View File
@@ -1327,8 +1327,9 @@ timeout = 30
1. `Issue.photo_path` (string)
2. `Issue.mobile_photo_paths[]` (JSON list — iPad evidence)
3. `Issue.result_photos[]` (JSON list — web resolution photos)
4. `Inspection.photo_path` (string)
5. `Inspection.form_data{}` — any `uploads/...` string (image fields; walk nested)
4. `Inspection.form_data{}` — any `uploads/...` string (image fields; walk nested)
5. `InspectionResult.photo_path` (string — per checklist-item result photo)
- `Inspection` itself has **no** `photo_path` column (the `photo_path` at inspection.py:103 belongs to `InspectionResult`, not `Inspection`).
- Signatures are inline `data:` base64 in the DB, **not files** → correctly ignored.
**Zero-loss invariants (non-negotiable):**