diff --git a/backend/src/api/database-migration.ts b/backend/src/api/database-migration.ts index e51a374f1..cd8f6488c 100644 --- a/backend/src/api/database-migration.ts +++ b/backend/src/api/database-migration.ts @@ -370,7 +370,7 @@ class DatabaseMigration { await this.$executeQuery('ALTER TABLE `blocks_audits` ADD fresh_txs JSON DEFAULT "[]"'); } - if (databaseSchemaVersion < 46 && isBitcoin === true) { + if (databaseSchemaVersion < 46) { await this.$executeQuery('ALTER TABLE `blocks` ADD cpfp_indexed tinyint(1) DEFAULT 0'); await this.$executeQuery(this.getCreateCPFPTableQuery(), await this.$checkIfTableExists('cpfp_clusters')); await this.$executeQuery(this.getCreateTransactionsTableQuery(), await this.$checkIfTableExists('transactions'));