Fix incorrect db schema version in db migration script
This commit is contained in:
parent
622929831e
commit
e0c3c732d1
@ -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'`);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user