File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -398,8 +398,8 @@ CREATE INDEX idx_text_paragraph_era
398398CREATE INDEX idx_text_paragraph_era_source_book
399399 ON public .text_paragraph (era, source, book);
400400
401- CREATE INDEX idx_text_paragraph_era_source_book_id
402- ON text_paragraph(era, source, book, id);
401+ CREATE INDEX idx_tp_era_source_book_id
402+ ON public . text_paragraph (era, source, book, id);
403403
404404-- For replay
405405CREATE INDEX idx_replay_user_id
Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ import Import
1313import System.Directory (doesFileExist )
1414import System.Random (randomRIO )
1515
16- getRandomParagraph ::
17- Text -> Text -> Int -> Handler (Entity TextParagraph )
16+ getRandomParagraph :: Text -> Text -> Int -> Handler (Entity TextParagraph )
1817getRandomParagraph era source book = do
1918 res <-
2019 runDB $
You can’t perform that action at this time.
0 commit comments