diff --git a/frontend/src/System/Status/About/About.js b/frontend/src/System/Status/About/About.js index 51c0afde6..8800276f0 100644 --- a/frontend/src/System/Status/About/About.js +++ b/frontend/src/System/Status/About/About.js @@ -15,6 +15,7 @@ class About extends Component { version, isMonoRuntime, runtimeVersion, + migrationVersion, appData, startupPath, mode @@ -38,6 +39,11 @@ class About extends Component { /> } + + _database.Version; + public int Migration => _database.Migration; + public void Vacuum() { _database.Vacuum(); diff --git a/src/NzbDrone.Core/Datastore/MainDatabase.cs b/src/NzbDrone.Core/Datastore/MainDatabase.cs index 8ce09eaf2..52736828c 100644 --- a/src/NzbDrone.Core/Datastore/MainDatabase.cs +++ b/src/NzbDrone.Core/Datastore/MainDatabase.cs @@ -1,4 +1,4 @@ -using System; +using System; using Marr.Data; namespace NzbDrone.Core.Datastore @@ -24,6 +24,8 @@ namespace NzbDrone.Core.Datastore public Version Version => _database.Version; + public int Migration => _database.Migration; + public void Vacuum() { _database.Vacuum();