Fix kappa's accidental search and replace

This commit is contained in:
wiz 2022-07-10 17:28:47 +02:00
parent 9c6a28d9b0
commit c8e090149a
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -174,7 +174,7 @@ class DatabaseMigration {
this.uniqueLog(logger.notice, this.blocksTruncatedMessage); this.uniqueLog(logger.notice, this.blocksTruncatedMessage);
await this.$executeQuery('TRUNCATE blocks;'); // Need to re-index await this.$executeQuery('TRUNCATE blocks;'); // Need to re-index
await this.$executeQuery(`ALTER TABLE blocks 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 ADD avg_fee_rate INT UNSIGNED NULL
`); `);
await this.$executeQuery('ALTER TABLE blocks MODIFY `reward` BIGINT UNSIGNED NOT NULL DEFAULT "0"'); await this.$executeQuery('ALTER TABLE blocks MODIFY `reward` BIGINT UNSIGNED NOT NULL DEFAULT "0"');