Update audit information for editing attendance record

This commit is contained in:
Nguyen Ngo
2025-09-03 16:50:09 -04:00
parent ea89cf2549
commit fcb0bedf8b
3 changed files with 182 additions and 42 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class AttendanceData(base.db.Model):
altitude = base.db.Column(base.db.Float, nullable=True)
location_source = base.db.Column(base.db.String(50), default='manual')
address = base.db.Column(base.db.String(500), nullable=True)
edit_note = base.db.Column(base.db.Text, nullable=True)
# Relationships
qr_code = base.db.relationship('QRCode', backref=base.db.backref('attendance_records', lazy='dynamic'))