Add missing truncate blocks table
This commit is contained in:
parent
9772fcf9ff
commit
0d1a0df044
@ -486,6 +486,8 @@ class DatabaseMigration {
|
|||||||
|
|
||||||
if (databaseSchemaVersion < 55) {
|
if (databaseSchemaVersion < 55) {
|
||||||
await this.$executeQuery(this.getAdditionalBlocksDataQuery());
|
await this.$executeQuery(this.getAdditionalBlocksDataQuery());
|
||||||
|
this.uniqueLog(logger.notice, this.blocksTruncatedMessage);
|
||||||
|
await this.$executeQuery('TRUNCATE blocks;'); // Need to re-index
|
||||||
await this.updateToSchemaVersion(55);
|
await this.updateToSchemaVersion(55);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user