Change migration version to v2.19.4

This commit is contained in:
mikiher 2025-02-18 07:57:46 +02:00
parent 7038f5730f
commit 568bf0254d
3 changed files with 4 additions and 4 deletions

View File

@ -14,4 +14,4 @@ Please add a record of every database migration that you create to this file. Th
| v2.17.6 | v2.17.6-share-add-isdownloadable | Adds the isDownloadable column to the mediaItemShares table | | v2.17.6 | v2.17.6-share-add-isdownloadable | Adds the isDownloadable column to the mediaItemShares table |
| v2.17.7 | v2.17.7-add-indices | Adds indices to the libraryItems and books tables to reduce query times | | v2.17.7 | v2.17.7-add-indices | Adds indices to the libraryItems and books tables to reduce query times |
| v2.19.1 | v2.19.1-copy-title-to-library-items | Copies title and titleIgnorePrefix to the libraryItems table, creates update triggers and indices | | v2.19.1 | v2.19.1-copy-title-to-library-items | Copies title and titleIgnorePrefix to the libraryItems table, creates update triggers and indices |
| v2.19.3 | v2.19.3-improve-podcast-queries | Adds numEpisodes to podcasts, adds podcastId to mediaProgresses, copies podcast title to libraryItems | | v2.19.4 | v2.19.4-improve-podcast-queries | Adds numEpisodes to podcasts, adds podcastId to mediaProgresses, copies podcast title to libraryItems |

View File

@ -9,7 +9,7 @@ const util = require('util')
* @property {MigrationContext} context - an object containing the migration context. * @property {MigrationContext} context - an object containing the migration context.
*/ */
const migrationVersion = '2.19.3' const migrationVersion = '2.19.4'
const migrationName = `${migrationVersion}-improve-podcast-queries` const migrationName = `${migrationVersion}-improve-podcast-queries`
const loggerPrefix = `[${migrationVersion} migration]` const loggerPrefix = `[${migrationVersion} migration]`

View File

@ -5,9 +5,9 @@ const { expect } = chai
const { DataTypes, Sequelize } = require('sequelize') const { DataTypes, Sequelize } = require('sequelize')
const Logger = require('../../../server/Logger') const Logger = require('../../../server/Logger')
const { up, down } = require('../../../server/migrations/v2.19.3-improve-podcast-queries') const { up, down } = require('../../../server/migrations/v2.19.4-improve-podcast-queries')
describe('Migration v2.19.3-improve-podcast-queries', () => { describe('Migration v2.19.4-improve-podcast-queries', () => {
let sequelize let sequelize
let queryInterface let queryInterface
let loggerInfoStub let loggerInfoStub