fix: remove expiry_date from SoftwareSecurePhotoVerification

This commit is contained in:
Bianca Severino
2021-05-17 11:39:10 -04:00
parent 58c57342ab
commit bba7ea5d37

View File

@@ -640,9 +640,6 @@ class SoftwareSecurePhotoVerification(PhotoVerification):
IMAGE_LINK_DURATION = 5 * 60 * 60 * 24 # 5 days in seconds
copy_id_photo_from = models.ForeignKey("self", null=True, blank=True, on_delete=models.CASCADE)
# DEPRECATED: the `expiry_date` field has been replaced by `expiration_date`
expiry_date = models.DateTimeField(null=True, blank=True, db_index=True)
# This field is used to maintain a check for learners to which email
# to notify for expired verification is already sent.
expiry_email_date = models.DateTimeField(null=True, blank=True, db_index=True)