core: improve indexes (#6095)

* core: improve indexes

* update plans

* queries

* postgres migration

* optimize query

* lint

* plans

* add indexes

* schema

* plans

* postgres schema

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
This commit is contained in:
spaced4ndy
2025-07-24 22:36:08 +00:00
committed by GitHub
parent 7b7926a73e
commit d69511bcad
11 changed files with 153 additions and 58 deletions

View File

@@ -127,7 +127,9 @@ skipComparisonForDownMigrations =
-- indexes move down to the end of the file
"20250130_indexes",
-- index moves down to the end of the file
"20250227_member_acceptance"
"20250227_member_acceptance",
-- index moves down to the end of the file
"20250721_indexes"
]
getSchema :: FilePath -> FilePath -> IO String