mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 07:05:36 +01:00
Fix getting random sequence
This commit is contained in:
@@ -50,8 +50,7 @@ WITH filtered_sequences AS (
|
||||
WHERE sequence = sequences.id
|
||||
)
|
||||
)
|
||||
SELECT id FROM filtered_sequences
|
||||
ORDER BY RANDOM() LIMIT 1;
|
||||
SELECT id FROM filtered_sequences;
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user