diff --git a/js/modules/messages_data_migrator.js b/js/modules/messages_data_migrator.js index 86bebcf36..f5d3301df 100644 --- a/js/modules/messages_data_migrator.js +++ b/js/modules/messages_data_migrator.js @@ -162,6 +162,8 @@ exports.processAll = async ({ } while (unprocessedMessages.length > 0); await markMigrationComplete(connection); + + console.log('Close database connection'); connection.close(); const totalDuration = Date.now() - migrationStartTime;