Merged database migrations.

This commit is contained in:
DebaucheryLibrarian
2023-06-19 00:39:00 +02:00
parent 85942c5d00
commit dbaddfb291
21 changed files with 385 additions and 576 deletions

View File

@@ -269,6 +269,8 @@ async function updateSceneSearch(releaseIds) {
if (documents.rows?.length > 0) {
await bulkInsert('releases_search', documents.rows, ['release_id']);
}
await knex.raw('REFRESH MATERIALIZED VIEW CONCURRENTLY releases_not_showcased;');
}
async function storeChapters(releases) {