/// <summary>
        /// Migrates the data store to the lastest version if any
        /// </summary>
        /// <returns>true if migration was susccessful, otherwise false</returns>
        public bool MigrateToLatest()
        {
            var result = _migratorBackend.MigrateToLatest();

            if (!result.IsSuccess)
            {
                throw new Exception($"Error when migrating: {result.Exception.Message}.", result.Exception);
            }
            return(result.IsSuccess);
        }