From 1f04b83be337cc91a3fabcf4e574e2306f3d2eaa Mon Sep 17 00:00:00 2001
From: Freya Murphy <freya@freyacat.org>
Date: Sat, 30 Mar 2024 12:14:42 -0400
Subject: refactor

---
 db/rest/post/api_post.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'db/rest/post/api_post.sql')

diff --git a/db/rest/post/api_post.sql b/db/rest/post/api_post.sql
index a91d9d2..b49289c 100644
--- a/db/rest/post/api_post.sql
+++ b/db/rest/post/api_post.sql
@@ -5,7 +5,8 @@ CREATE VIEW api.post AS
 		p.content,
 		p.date
 	FROM
-		admin.post p;
+		admin.post p
+	ORDER BY id DESC;
 
 GRANT SELECT ON TABLE api.post
 	TO rest_anon, rest_user;
-- 
cgit v1.2.3-freya

