From eead4d0af80d546d63a311e9998625881fd3ef12 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Fri, 13 Jan 2023 16:33:44 -0600 Subject: [PATCH] Correctly drop legacy cpfp db tables --- backend/src/api/database-migration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/database-migration.ts b/backend/src/api/database-migration.ts index 42f223417..66216c64a 100644 --- a/backend/src/api/database-migration.ts +++ b/backend/src/api/database-migration.ts @@ -461,8 +461,8 @@ class DatabaseMigration { await this.$executeQuery(this.getCreateCompactTransactionsTableQuery(), await this.$checkIfTableExists('compact_transactions')); try { await this.$convertCompactCpfpTables(); - await this.$executeQuery('DROP TABLE IF EXISTS `cpfp_clusters`'); await this.$executeQuery('DROP TABLE IF EXISTS `transactions`'); + await this.$executeQuery('DROP TABLE IF EXISTS `cpfp_clusters`'); await this.updateToSchemaVersion(52); } catch(e) { logger.warn('' + (e instanceof Error ? e.message : e));