mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(db): sort board by created_at
This commit is contained in:
parent
21f0d0b0c1
commit
9ef64016c7
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user