mirror of
https://github.com/mempool/mempool.git
synced 2025-03-03 09:39:17 +01:00
Reverts part of 6f25ecd98d9fdf1079dd550ecde4162ebe8d62d5
This commit is contained in:
parent
7761e75d4c
commit
b18115f71a
1 changed files with 0 additions and 2 deletions
|
@ -96,8 +96,6 @@ class DatabaseMigration {
|
|||
}
|
||||
|
||||
if (databaseSchemaVersion < 6 && isBitcoin === true) {
|
||||
// We need to re-index the blocks table, so we nuke it
|
||||
await this.$executeQuery(connection, 'TRUNCATE blocks;');
|
||||
// Cleanup original blocks fields type
|
||||
await this.$executeQuery(connection, 'ALTER TABLE blocks MODIFY `height` integer unsigned NOT NULL DEFAULT "0"');
|
||||
await this.$executeQuery(connection, 'ALTER TABLE blocks MODIFY `tx_count` smallint unsigned NOT NULL DEFAULT "0"');
|
||||
|
|
Loading…
Add table
Reference in a new issue