summary refs log tree commit diff
path: root/scripts/syncronise.js
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-22 14:30:03 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-22 14:30:03 +1100
commit2ec59d2ff2d03353ff1b34e33e5c675b374c6bc1 (patch)
tree9dd6d4ea475812bff201dc2ef9b7d4231353a589 /scripts/syncronise.js
parentFix redirect when test client disabled (diff)
downloadserver-2ec59d2ff2d03353ff1b34e33e5c675b374c6bc1.tar.xz
Fix sync script not closing for some dbms
Diffstat (limited to '')
-rw-r--r--scripts/syncronise.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/syncronise.js b/scripts/syncronise.js
index 6ce47278..3ecb516e 100644
--- a/scripts/syncronise.js
+++ b/scripts/syncronise.js
@@ -16,4 +16,5 @@ const { initDatabase } = require("..");
 	console.log("synchronising");
 	await db.synchronize();
 	console.log("done");
+	db.destroy();
 })();
\ No newline at end of file