6 Commits

Author SHA1 Message Date
Kovid Goyal
ae029cf06a
Cleanup previous PR
Return items_ids rather than note_ids as the rest of the API uses
items_ids to reference notes not note_ids. Also allow querying for only
a single field if needed.
2023-11-13 19:21:32 +05:30
Kovid Goyal
b0766d7a62
Track creation and modified timestamps for notes 2023-11-13 19:21:30 +05:30
Kovid Goyal
6017bafe48
Use hashes as primary key for resources
This will allow rebuild of database as the backup documents will refer
to resource hashes not ids (its very difficult to restore resources with
ids unchanged). Also this allows docs to be migrated between databases
easily.
2023-11-13 19:21:28 +05:30
Kovid Goyal
0bd1137fa1
Implement retiring of notes 2023-11-13 19:21:28 +05:30
Kovid Goyal
35b7bd3fe8
Store a name for every resource 2023-11-13 19:21:27 +05:30
Kovid Goyal
7eefd96970
Start work on per category item notes 2023-11-13 19:21:27 +05:30