mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-20 12:58:48 +01:00
Update migration version
This commit is contained in:
parent
10299e3037
commit
e83df2bf4b
@ -117,7 +117,7 @@ class Server {
|
|||||||
await this.playbackSessionManager.removeOrphanStreams()
|
await this.playbackSessionManager.removeOrphanStreams()
|
||||||
await this.downloadManager.removeOrphanDownloads()
|
await this.downloadManager.removeOrphanDownloads()
|
||||||
|
|
||||||
if (version.localeCompare('2.0.0') < 0) { // Old version data model migration
|
if (version.localeCompare('2.0.0') <= 0) { // Old version data model migration
|
||||||
await dbMigration.migrate(this.db)
|
await dbMigration.migrate(this.db)
|
||||||
} else {
|
} else {
|
||||||
await this.db.init()
|
await this.db.init()
|
||||||
|
Loading…
Reference in New Issue
Block a user