Fix incorrect db schema version in db migration script

This commit is contained in:
nymkappa 2023-03-04 10:55:27 +09:00
parent 2a2151890d
commit 9117e620b9

View File

@ -637,7 +637,7 @@ class DatabaseMigration {
queries.push(`INSERT INTO state(name, number, string) VALUES ('last_weekly_hashrates_indexing', 0, NULL)`); queries.push(`INSERT INTO state(name, number, string) VALUES ('last_weekly_hashrates_indexing', 0, NULL)`);
} }
if (version < 55) { if (version < 58) {
queries.push(`DELETE FROM state WHERE name = 'last_hashrates_indexing'`); queries.push(`DELETE FROM state WHERE name = 'last_hashrates_indexing'`);
queries.push(`DELETE FROM state WHERE name = 'last_weekly_hashrates_indexing'`); queries.push(`DELETE FROM state WHERE name = 'last_weekly_hashrates_indexing'`);
} }