Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix migration
azivner35ef3c847083
diff --git a/db/migrations/0109__create_attributes.sql b/db/migrations/0109__create_attributes.sqlindex 2866150145..526a446e7f 100644--- a/db/migrations/0109__create_attributes.sql+++ b/db/migrations/0109__create_attributes.sql@@ -12,13 +12,13 @@ create table attributeshash TEXT default "" not null);create index IDX_attributes_name_value- on labels (name, value);+ on attributes (name, value);create index IDX_attributes_value- on labels (value);+ on attributes (value);create index IDX_attributes_noteId- on labels (noteId);+ on attributes (noteId);INSERT INTO attributes (attributeId, noteId, type, name, value, position, dateCreated, dateModified, isDeleted, hash)SELECT labelId, noteId, 'label', name, value, position, dateCreated, dateModified, isDeleted, hash FROM labels;