922f00e339
The user_id column in storage.files is varchar, not uuid. The ::uuid cast was causing a type mismatch error when calculating storage usage.