feat: Optimize image hash checks with bulk queries and add database indexing for performance
This commit is contained in:
+1
-1
@@ -2173,7 +2173,7 @@ class UncategorisedDicom(models.Model):
|
||||
|
||||
series_instance_uid = models.CharField(max_length=255, blank=True, null=True)
|
||||
|
||||
image_blake3_hash = models.CharField(max_length=64, null=True, blank=True)
|
||||
image_blake3_hash = models.CharField(max_length=64, null=True, blank=True, db_index=True)
|
||||
|
||||
created_date = models.DateTimeField(default=timezone.now)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user