From 35ef3c84708372e65eb457a6d48bb09772f20dc4 Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 14 Aug 2018 16:09:30 +0200 Subject: [PATCH] fix migration --- db/migrations/0109__create_attributes.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/db/migrations/0109__create_attributes.sql b/db/migrations/0109__create_attributes.sql index 286615014..526a446e7 100644 --- a/db/migrations/0109__create_attributes.sql +++ b/db/migrations/0109__create_attributes.sql @@ -12,13 +12,13 @@ create table attributes hash 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;