feat(db): sort board by created_at

This commit is contained in:
psychedelicious 2023-06-20 22:50:33 +10:00
parent 21f0d0b0c1
commit 9ef64016c7

View File

@ -263,7 +263,7 @@ class SqliteBoardRecordStorage(BoardRecordStorageBase):
"""--sql """--sql
SELECT * SELECT *
FROM boards FROM boards
ORDER BY updated_at DESC ORDER BY created_at DESC
LIMIT ? OFFSET ?; LIMIT ? OFFSET ?;
""", """,
(limit, offset), (limit, offset),