mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-02-19 00:18:56 +01:00
Change migration version to v2.19.4
This commit is contained in:
parent
7038f5730f
commit
568bf0254d
@ -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 |
|
||||||
|
@ -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]`
|
||||||
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user