Merge branch 'master' into nymkappa/bugfix/cleanup-mining-states

This commit is contained in:
nymkappa
2023-03-04 10:54:02 +09:00
58 changed files with 2818 additions and 1331 deletions

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);
}