Open macMikey opened 5 years ago
Recover from a naming/reloacting mistake. Example: Vacation request for person a mismarked as being for person b and then moved to their folder.
Thumbnail/page 1 storage would make searching for the document simpler, since you could do it visually, as would being able to search by other characteristics like created date, document date, etc.
This is a case where keeping the files in blobs would be better than keeping them in the filesystem, because using the filesystem introduces the possibility that the file will be moved by the user manually. Having a server without the user having filesystem access would reduce that risk. If you keep the entire document in the DB you are going to end up creating the filesystem manually, which sort-of defeats KISS.
Keeping the hash and other characteristics and keeping them current with fs changes would make searching easier, too, for the cases where the user moves a file on you.