@telepat/snoopy 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,6 +48,12 @@ export class JobsRepository {
48
48
  // Ignore filesystem cleanup failures and continue DB cleanup.
49
49
  }
50
50
  }
51
+ this.db
52
+ .prepare(`DELETE FROM comment_thread_nodes
53
+ WHERE scan_item_id IN (
54
+ SELECT id FROM scan_items WHERE job_id = ?
55
+ )`)
56
+ .run(jobId);
51
57
  this.db.prepare('DELETE FROM scan_items WHERE job_id = ?').run(jobId);
52
58
  this.db.prepare('DELETE FROM job_runs WHERE job_id = ?').run(jobId);
53
59
  this.db.prepare('DELETE FROM jobs WHERE id = ?').run(jobId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telepat/snoopy",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Snoopy CLI for Reddit conversation monitoring jobs.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",