migrate to use image id in model

This commit is contained in:
Ross
2024-10-07 09:28:43 +01:00
parent 6f96f79303
commit d1249f14d8
2 changed files with 20 additions and 1 deletions
+2 -1
View File
@@ -597,7 +597,8 @@ class SeriesFinding(models.Model):
conditions = models.ManyToManyField(Condition, blank=True)
annotation_json = models.TextField(null=True, blank=True)
viewport_json = models.TextField(null=True, blank=True)
current_image_id_index = models.IntegerField(null=True, blank=True)
# This has been migrated to install the image id (not index)
current_image_id_index = models.TextField(null=True, blank=True)
def __str__(self) -> str:
findings = self.findings.all().values_list("name")