05/21 Fix issue with multiple photos 2
This commit is contained in:
@@ -63,6 +63,10 @@ class Issue(db.Model):
|
||||
resolved_at = db.Column(db.DateTime)
|
||||
result_notes = db.Column(db.Text)
|
||||
result_photos = db.Column(db.JSON) # list of relative paths e.g. ["uploads/issue_photos/abc.jpg"]
|
||||
# Extra evidence photos submitted from the iPad at issue-creation time.
|
||||
# Stored separately from result_photos (resolution photos added via web)
|
||||
# so they display under "Photo Evidence" rather than "Resolution Details".
|
||||
mobile_photo_paths = db.Column(db.JSON, nullable=True)
|
||||
|
||||
# ── Resolution verification ──────────────────────────────────────────
|
||||
verified_by = db.Column(db.Integer, db.ForeignKey('users.id', ondelete='SET NULL'), nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user