Merge branch 'master' into nymkappa/unify-blocks-apis

This commit is contained in:
wiz 2023-03-01 18:19:45 +09:00 committed by GitHub
commit e2ef8721d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,11 @@
name: Cypress Tests
on:
push:
branches: [master]
pull_request:
types: [opened, review_requested, synchronize]
jobs:
cypress:
if: "!contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')"

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