mirror of
https://github.com/mempool/mempool.git
synced 2025-04-08 20:08:32 +02:00
Merge pull request #5426 from mempool/mononaut/fix-liquid-migration
fix liquid db migration
This commit is contained in:
commit
96435c329f
@ -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