mirror of
https://github.com/mempool/mempool.git
synced 2025-03-26 17:51:45 +01:00
fix liquid db migration
This commit is contained in:
parent
5eb117165f
commit
b6ce8229f0
@ -692,7 +692,7 @@ class DatabaseMigration {
|
||||
await this.updateToSchemaVersion(80);
|
||||
}
|
||||
|
||||
if (databaseSchemaVersion < 81) {
|
||||
if (databaseSchemaVersion < 81 && isBitcoin === true) {
|
||||
await this.$executeQuery('ALTER TABLE `blocks_audits` ADD version INT NOT NULL DEFAULT 0');
|
||||
await this.$executeQuery('ALTER TABLE `blocks_audits` ADD INDEX `version` (`version`)');
|
||||
await this.$executeQuery('ALTER TABLE `blocks_audits` ADD unseen_txs JSON DEFAULT "[]"');
|
||||
|
Loading…
x
Reference in New Issue
Block a user