core: fix note expiry date index not created

This commit is contained in:
Abdullah Atta
2026-01-16 14:44:53 +05:00
parent 4c5a668114
commit 3ba1234056

View File

@@ -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": {