dewy icon indicating copy to clipboard operation
dewy copied to clipboard

Capture more metadata in DB (file path, etc.)

Open bjchambers opened this issue 1 year ago • 1 comments

          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

bjchambers avatar Feb 13 '24 23:02 bjchambers

@kerinin to add details and discuss what we want to actually do here.

bjchambers avatar Feb 13 '24 23:02 bjchambers