add index for note's type + some fixes

This commit is contained in:
azivner
2018-05-21 20:12:46 -04:00
parent e8d089e37e
commit 9fa6c0918c
6 changed files with 18 additions and 3 deletions

View File

@@ -212,7 +212,8 @@ const primaryKeys = {
"images": "imageId",
"note_images": "noteImageId",
"labels": "labelId",
"api_tokens": "apiTokenId"
"api_tokens": "apiTokenId",
"options": "name"
};
async function getEntityRow(entityName, entityId) {