mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-08-03 15:11:44 +00:00
Sequelize showIndex matches the table name case-sensitively, but postgres folds unquoted identifiers to lowercase, so existing indexes were never detected and addIndex failed with already-exists errors, crash-looping the server on startup. Query pg_indexes with the folded table name on postgres and compare index names case-insensitively. |
||
|---|---|---|
| .. | ||
| server | ||