dewy
dewy copied to clipboard
Capture more metadata in DB (file path, etc.)
Maybe? I'd be more inclined to add a separate "title" path. It feels weird that "name" is overloaded. And what about cases where a document is created with a given URL, and then updated with content, etc.
I actually think we may want to have a separate document_version table at some point, but not sure (seems more useful to just retain the latest here). Also not sure we want to rely on the path for anything, since it can be set by the client arbitrarily.
Originally posted by @bjchambers in https://github.com/DewyKB/dewy/pull/82#discussion_r1488653473
@kerinin to add details and discuss what we want to actually do here.