diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-05 17:12:21 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-05 17:16:55 +1100 |
commit | df449169bde6c0576757700f68f2d406139cc846 (patch) | |
tree | f8bcbaf30ed3ed007d392a51614a134e543e3c17 /scripts/stagingMigration/index.js | |
parent | channel flags whoops (diff) | |
download | server-df449169bde6c0576757700f68f2d406139cc846.tar.xz |
Prettier
Diffstat (limited to 'scripts/stagingMigration/index.js')
-rw-r--r-- | scripts/stagingMigration/index.js | 12 |
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 +})(); |