Merge branch 'master' into nymkappa/ignore-nega-usd-price

This commit is contained in:
wiz authored and GitHub committed 2023-03-01 19:11:52 +09:00
commit 2c55182cf0
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -501,7 +501,7 @@ class DatabaseMigration {
await this.updateToSchemaVersion(56);
}
if (databaseSchemaVersion < 57) {
if (databaseSchemaVersion < 57 && isBitcoin === true) {
await this.$executeQuery(`ALTER TABLE nodes MODIFY updated_at datetime NULL`);
await this.updateToSchemaVersion(57);
}