06/11 Update Inspection result will include GPS
This commit is contained in:
@@ -63,8 +63,10 @@ class Inspection(db.Model):
|
||||
status = db.Column(db.Enum('in_progress', 'completed', 'flagged'), default='in_progress')
|
||||
notes = db.Column(db.Text) # inspector free-text notes
|
||||
form_data = db.Column(db.JSON) # filled form field responses {field_id: value}
|
||||
completed_at = db.Column(db.DateTime)
|
||||
mobile_local_id = db.Column(db.String(64), nullable=True, index=True) # idempotency key for mobile submissions
|
||||
completed_at = db.Column(db.DateTime)
|
||||
mobile_local_id = db.Column(db.String(64), nullable=True, index=True)
|
||||
submit_latitude = db.Column(db.Numeric(10, 7), nullable=True)
|
||||
submit_longitude = db.Column(db.Numeric(10, 7), nullable=True)
|
||||
|
||||
# ── Re-inspection / follow-up workflow ────────────────────────────────
|
||||
parent_inspection_id = db.Column(
|
||||
|
||||
Reference in New Issue
Block a user