summary refs log tree commit diff
path: root/scripts/stagingMigration/index.js
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-05 17:12:21 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-05 17:16:55 +1100
commitdf449169bde6c0576757700f68f2d406139cc846 (patch)
treef8bcbaf30ed3ed007d392a51614a134e543e3c17 /scripts/stagingMigration/index.js
parentchannel flags whoops (diff)
downloadserver-df449169bde6c0576757700f68f2d406139cc846.tar.xz
Prettier
Diffstat (limited to 'scripts/stagingMigration/index.js')
-rw-r--r--scripts/stagingMigration/index.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/stagingMigration/index.js b/scripts/stagingMigration/index.js
index bc375b49..a1acaabb 100644
--- a/scripts/stagingMigration/index.js
+++ b/scripts/stagingMigration/index.js
@@ -4,11 +4,19 @@ const path = require("path");
 (async () => {
 	DataSourceOptions.setOptions({
 		logging: true,
-		migrations: [path.join(process.cwd(), "scripts", "stagingMigration", DatabaseType, "*.js")]
+		migrations: [
+			path.join(
+				process.cwd(),
+				"scripts",
+				"stagingMigration",
+				DatabaseType,
+				"*.js",
+			),
+		],
 	});
 
 	const dbConnection = await DataSourceOptions.initialize();
 	await dbConnection.runMigrations();
 	await dbConnection.destroy();
 	console.log("migration done");
-})();
\ No newline at end of file
+})();