OMG, face_distance is float not int, how has this ever worked

This commit is contained in:
2025-10-03 21:10:04 +10:00
parent 0777bbe237
commit efaec00127

View File

@@ -62,13 +62,13 @@ class FaceRefimgLink(PA, db.Model):
Attributes:
face_id (int): face id of row in Face table / foreign key - part primary key
refimg_id (int): face id of row in Face table / foreign key - part primary key
face_distance (int): distance value (how similar matched Face was)
face_distance (float): distance value (how similar matched Face was)
"""
__tablename__ = "face_refimg_link"
face_id = db.Column(db.Integer, db.ForeignKey("face.id"), primary_key=True )
refimg_id = db.Column(db.Integer, db.ForeignKey("refimg.id"), primary_key=True )
face_distance = db.Column(db.Integer)
face_distance = db.Column(db.Float)
################################################################################