Fix incorrect db schema version in db migration script

This commit is contained in:
nymkappa 2023-03-04 10:55:27 +09:00
parent 622929831e
commit e0c3c732d1
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -637,7 +637,7 @@ class DatabaseMigration {
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_weekly_hashrates_indexing'`);
}