mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
core: fix note expiry date index not created
This commit is contained in:
@@ -414,7 +414,8 @@ export class NNMigrationProvider implements MigrationProvider {
|
||||
await db.schema
|
||||
.createIndex("note_expiry_date")
|
||||
.on("notes")
|
||||
.expression(sql`expiryDate ->> '$.value'`);
|
||||
.expression(sql`expiryDate ->> '$.value'`)
|
||||
.execute();
|
||||
}
|
||||
},
|
||||
"a-2026-01-09": {
|
||||
|
||||
Reference in New Issue
Block a user