From 7d4280f45330217c840878ea52aacf50da447d58 Mon Sep 17 00:00:00 2001 From: Gui Iribarren Date: Mon, 9 Sep 2024 18:17:44 +0200 Subject: [PATCH] force reindex --- vochain/indexer/indexer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vochain/indexer/indexer.go b/vochain/indexer/indexer.go index 392dd579a..1e3608b11 100644 --- a/vochain/indexer/indexer.go +++ b/vochain/indexer/indexer.go @@ -174,7 +174,7 @@ func (idx *Indexer) startDB() error { goose.SetLogger(log.GooseLogger()) goose.SetBaseFS(embedMigrations) - if gooseMigrationsPending(idx.readWriteDB, "migrations") { + if true || gooseMigrationsPending(idx.readWriteDB, "migrations") { log.Info("indexer db needs migration, scheduling a reindex after sync") defer func() { go idx.ReindexBlocks(false) }() }