public void MigrateSqlBasedIndexStore() { if (config.IsSqlBasedIndexStore()) { if (sqlIndexStoreMigration.IsMigrationUptoDate() == false) { if (sqlIndexStoreMigration.MigrateToLatestVersion() == false) { throw new Exception("Unable to update the Database version"); } } } }