unifying surrogate keys for event log and options, fixes #103

This commit is contained in:
azivner
2018-05-26 23:25:09 -04:00
parent a30734f1bc
commit cab54a458f
6 changed files with 41 additions and 21 deletions

View File

@@ -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) {