From 8fd83a664cbcd6fb052d8a49d8f697b9a2c3ed0d Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 14 May 2023 03:34:43 +0400 Subject: [PATCH] Added delete post query. --- pkg/mindflow/database/sqlite/queries/postDelete.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pkg/mindflow/database/sqlite/queries/postDelete.sql diff --git a/pkg/mindflow/database/sqlite/queries/postDelete.sql b/pkg/mindflow/database/sqlite/queries/postDelete.sql new file mode 100644 index 0000000..1eb17dc --- /dev/null +++ b/pkg/mindflow/database/sqlite/queries/postDelete.sql @@ -0,0 +1,2 @@ +DELETE FROM `post` + WHERE `post_id` = ?; \ No newline at end of file