fix liquid db migration

This commit is contained in:
Mononaut committed 2024-08-05 15:49:16 +00:00
1 parent 5eb117165f
commit b6ce8229f0
1 file changed
+1 -1
+1 -1
View File
@@ -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 "[]"');