From f66a14f3060bb80aa4ac2eba20d16c3091af55b3 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 14 May 2023 03:34:30 +0400 Subject: [PATCH] Edit a category's ID as well. --- pkg/mindflow/database/sqlite/queries/postEdit.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/mindflow/database/sqlite/queries/postEdit.sql b/pkg/mindflow/database/sqlite/queries/postEdit.sql index 34f2ebe..0406706 100644 --- a/pkg/mindflow/database/sqlite/queries/postEdit.sql +++ b/pkg/mindflow/database/sqlite/queries/postEdit.sql @@ -1,5 +1,6 @@ UPDATE OR REPLACE `post` SET + `category_id` = ?, `title` = ?, `body` = ? WHERE `post_id` = ?; \ No newline at end of file