From 1ec3d3183ffc569323a7ee9a2a268f2a20bab98c Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 9 Oct 2023 21:02:07 +0700 Subject: [PATCH] chore: remove redundant query --- electron/core/plugins/data-plugin/module.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/electron/core/plugins/data-plugin/module.ts b/electron/core/plugins/data-plugin/module.ts index 8dc588ebb..7d50a8708 100644 --- a/electron/core/plugins/data-plugin/module.ts +++ b/electron/core/plugins/data-plugin/module.ts @@ -61,10 +61,6 @@ function init() { ); }); - const stmt = db.prepare( - "INSERT INTO conversations (name, model_id, image, message) VALUES (?, ?, ?, ?)" - ); - stmt.finalize(); db.close(); }