Closed qingshuizheng closed 1 year ago
Thanks for reporting this. I've checked in a change (and a way to do the cleanup), but it isn't quite right in theory. What should happen is that we should encode dependency information into types in the triples
package, and then have it just delete orphan types. That's something I'll look to add in a subsequent change in that package.
Thanks for the fix! 😃
Hello @ahyatt , https://github.com/ahyatt/ekg/blob/d2f0e540b5e32553fec2352152513bb0fc82333a/ekg.el#L439
While inspecting db, I found some TITLE-related records remained in db after note deletion:
I think 'titled types should be taken care as well here:
With this↑ change, the titled-related records will also be deleted.
Note: The remaining titled-related items of all previous note deletions need to be cleaned up. (I found 74 remaining records in my db.)
Zheng