KamoCRM

Handle missing fileHash column gracefully

FixSecurityService
Shipped
November 25, 2025 at 4:53 PM UTC
Author
snadjafinia
Commit
77da474

- Add try-catch around fileHash access to handle missing database column - Fall back to ID-based file naming if fileHash column doesn't exist yet - Allows code to work before database schema is updated - Prevents upload failures when column is missing

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing