mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
core: add content noteId to sqlite index
This commit is contained in:
@@ -275,6 +275,12 @@ export class NNMigrationProvider implements MigrationProvider {
|
||||
.on("attachments")
|
||||
.column("hash")
|
||||
.execute();
|
||||
|
||||
await db.schema
|
||||
.createIndex("content_noteId")
|
||||
.on("content")
|
||||
.columns(["noteId"])
|
||||
.execute();
|
||||
},
|
||||
async down(db) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user