From c8e090149ab5d50e79c8582dda7bd192230d2cd1 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 10 Jul 2022 17:28:47 +0200 Subject: [PATCH] Fix kappa's accidental search and replace --- backend/src/api/database-migration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/database-migration.ts b/backend/src/api/database-migration.ts index 363721c45..a4612e0ba 100644 --- a/backend/src/api/database-migration.ts +++ b/backend/src/api/database-migration.ts @@ -174,7 +174,7 @@ class DatabaseMigration { this.uniqueLog(logger.notice, this.blocksTruncatedMessage); await this.$executeQuery('TRUNCATE blocks;'); // Need to re-index await this.$executeQuery(`ALTER TABLE blocks - ADD med_fee INT UNSIGNED NULL, + ADD avg_fee INT UNSIGNED NULL, ADD avg_fee_rate INT UNSIGNED NULL `); await this.$executeQuery('ALTER TABLE blocks MODIFY `reward` BIGINT UNSIGNED NOT NULL DEFAULT "0"');