From e51ceb73881332d6f0bd59f873d151190b6cb254 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 22 May 2023 04:02:17 +0400 Subject: [PATCH] Removed call of UNIXEPOCH(). Now it works without it. --- pkg/mindflow/database/sqlite/queries/postGetAll.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mindflow/database/sqlite/queries/postGetAll.sql b/pkg/mindflow/database/sqlite/queries/postGetAll.sql index 3662b10..0b7551f 100644 --- a/pkg/mindflow/database/sqlite/queries/postGetAll.sql +++ b/pkg/mindflow/database/sqlite/queries/postGetAll.sql @@ -2,7 +2,7 @@ SELECT `post`.`post_id`, `category`.`category_id` AS `category_id`, `category`.`name` AS `category`, - UNIXEPOCH(`post`.`date`), + `post`.`date`, `post`.`title`, `post`.`body` FROM `post`