From 13aa62878eb787099e1c2c4c4d2881cd6c05e700 Mon Sep 17 00:00:00 2001 From: natsoni Date: Tue, 16 Apr 2024 10:47:44 +0200 Subject: [PATCH] Revert commits abdb27af and 727208ff --- backend/src/api/database-migration.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backend/src/api/database-migration.ts b/backend/src/api/database-migration.ts index f1d68c621..df5091701 100644 --- a/backend/src/api/database-migration.ts +++ b/backend/src/api/database-migration.ts @@ -652,11 +652,6 @@ class DatabaseMigration { await this.$executeQuery('ALTER TABLE `prices` ADD `THB` float DEFAULT "-1"'); await this.$executeQuery('ALTER TABLE `prices` ADD `TRY` float DEFAULT "-1"'); await this.$executeQuery('ALTER TABLE `prices` ADD `ZAR` float DEFAULT "-1"'); - - await this.$executeQuery('TRUNCATE hashrates'); - await this.$executeQuery('TRUNCATE difficulty_adjustments'); - await this.$executeQuery(`UPDATE state SET string = NULL WHERE name = 'pools_json_sha'`); - await this.updateToSchemaVersion(75); }