fix: delete from search
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Kieran 2024-01-19 20:05:46 +00:00
parent 53c8ccbd0f
commit 5ddc5ee8df
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ export class SqliteRelay extends EventEmitter<RelayHandlerEvents> implements Rel
db.exec(`delete from events where id in (${this.#repeatParams(ids.length)})`, {
bind: ids,
});
db.exec(`delete from search_content where id in (${this.#repeatParams(ids.length)})`, {
bind: ids,
});
this.#log("Deleted", ids, db.changes());
}