updated mobile media uploader logic to be more redundant
This commit is contained in:
@@ -146,7 +146,8 @@ Failure:
|
||||
- Media:
|
||||
- Raw file is uploaded first and persisted in `file`.
|
||||
- Then one `mobile_media_asset` row is created referencing uploaded `fileId`.
|
||||
- Dedup key: `(deviceId, externalMediaId)` when provided.
|
||||
- Dedup key #1: `(deviceId, externalMediaId)` when provided.
|
||||
- Dedup key #2 fallback: `(deviceId, hash)` where hash is client-provided or server-computed SHA-256 of file bytes.
|
||||
|
||||
## Operator Checklist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user