mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-20 13:53:19 +01:00
Update migration version
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user