migration + better ordering

This commit is contained in:
2023-11-02 15:04:08 +01:00
parent 8cb9bb36c7
commit 4726c25d20
2 changed files with 27 additions and 1 deletions

View File

@ -186,7 +186,7 @@ ORDER BY last_access DESC
SELECT id, name, pw, is_cox, is_admin, is_guest, deleted, last_access, is_tech, dob, weight, sex
FROM user
WHERE deleted = 0 AND dob is not null and weight is not null and sex is not null
ORDER BY last_access DESC
ORDER BY name DESC
"
)
.fetch_all(db)