Increase max_length of image_md5_hash field to 64 in SeriesImage and LongSeriesImage models

This commit is contained in:
Ross
2025-09-02 21:22:06 +01:00
parent a7e0438290
commit 8a92460cb2
3 changed files with 37 additions and 1 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ class SeriesImageBase(models.Model):
# The first is a md5 hash of the pixel array data
# this is used because I can't get the direct pixel data to match from cornerstone
# (and struggle to get blake3 working in the browser)
image_md5_hash = models.CharField(max_length=32, null=True, blank=True)
image_md5_hash = models.CharField(max_length=64, null=True, blank=True)
# The second is a blake3 hash of the direct pixel data
# This is much faster when using pydicom