Skip to content

Commit

Permalink
Merge pull request #2236 from OriginTrail/v6/develop
Browse files Browse the repository at this point in the history
OriginTrail 6.0.0-beta.3.1.1 Testnet Release
  • Loading branch information
zeroxbt authored Dec 6, 2022
2 parents 8e55859 + 94db5ef commit 1d1a6f9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions ot-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ class OTNode {
);
if (!(await cleanOperationalDatabaseMigration.migrationAlreadyExecuted())) {
await cleanOperationalDatabaseMigration.migrate();
this.logger.info('Operational database cleanup completed. Node will now restart!');
process.exit(1);
}
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "origintrail_node",
"version": "6.0.0-beta.3.1.0",
"version": "6.0.0-beta.3.1.1",
"description": "OTNode v6 Beta 2",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 0 additions & 2 deletions src/migration/clean-operational-database-migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ class CleanOperationalDatabaseMigration extends BaseMigration {
if (process.env.NODE_ENV !== 'development' && process.env.NODE_ENV !== 'test') {
this.logger.info('Dropping old operational database.');
await this.repositoryModuleManager.dropDatabase();
this.logger.info('Operational database cleanup completed. Node will now restart!');
process.exit(0);
}
}
}
Expand Down

0 comments on commit 1d1a6f9

Please sign in to comment.