mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-31 16:00:39 +02:00
Update migration version
This commit is contained in:
+1
-1
@@ -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