feat: unify signature channel reporting status

This commit is contained in:
hectorzhao
2026-07-12 20:38:20 +08:00
parent 3f3ff8a793
commit eab059583f
16 changed files with 439 additions and 110 deletions
@@ -0,0 +1,9 @@
UPDATE "DrainageField"
SET "fieldType" = 'string'
WHERE "fieldType" NOT IN ('string', 'image', 'file');
UPDATE "ChannelReportField"
SET "fieldType" = CASE
WHEN "fieldType" IN ('string', 'image', 'file') THEN "fieldType"
ELSE 'string'
END;