audiobookshelf/test
Kevin Gatera 49d0a66c1d
make v2.33.0 migration index checks work on postgres
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.
2026-08-02 22:35:03 -04:00
..
server make v2.33.0 migration index checks work on postgres 2026-08-02 22:35:03 -04:00