Add migration to remove extra quotes from EXIF data

This commit is contained in:
Eli Ribble 2026-03-10 16:18:27 +00:00
parent 6db5bb1cbf
commit d2620cdf1d
No known key found for this signature in database

View file

@ -0,0 +1,6 @@
-- +goose Up
UPDATE publicreport.image_exif
SET value = SUBSTRING(value, 2, LENGTH(value) - 2)
WHERE value LIKE '"%"'
AND LENGTH(value) >= 2;
-- +goose Down