diff --git a/server/Server.js b/server/Server.js index 5d4180ac..2c2c77e1 100644 --- a/server/Server.js +++ b/server/Server.js @@ -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()