mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-02 20:19:10 +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.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)
|
||||
} else {
|
||||
await this.db.init()
|
||||
|
Loading…
Reference in New Issue
Block a user