mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
unifying surrogate keys for event log and options, fixes #103
This commit is contained in:
@@ -207,13 +207,12 @@ const primaryKeys = {
|
||||
"notes": "noteId",
|
||||
"branches": "branchId",
|
||||
"note_revisions": "noteRevisionId",
|
||||
"option": "name",
|
||||
"recent_notes": "branchId",
|
||||
"images": "imageId",
|
||||
"note_images": "noteImageId",
|
||||
"labels": "labelId",
|
||||
"api_tokens": "apiTokenId",
|
||||
"options": "name"
|
||||
"options": "optionId"
|
||||
};
|
||||
|
||||
async function getEntityRow(entityName, entityId) {
|
||||
|
||||
Reference in New Issue
Block a user