Skip to content

Adding a file MD5 to the files table. #220

@nbkhwjm

Description

@nbkhwjm

Adding for discussion. I have implemented this on our system already...

The issue is that we end up with multiples of the same files from an external webhook that pushes data to us via a custom API. We of course are addressing the multiples with them, but without a hashing mechanism to determine if the file is already there, we cannot know "for sure" that's its the same one, even if the names are or are not the same.

we actually tend to use the MD5 as the filename on the filesystem, which also prevents duplicates, but in the case of dot project the file store is in the web root and not advised to have a predicable name.

comments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions