2022-09-09 14:08:57 +00:00
|
|
|
diff --git a/server/utils/startup.ts b/server/utils/startup.ts
|
2023-05-24 13:37:59 +00:00
|
|
|
index 444de475..b883f71a 100644
|
2022-09-09 14:08:57 +00:00
|
|
|
--- a/server/utils/startup.ts
|
|
|
|
+++ b/server/utils/startup.ts
|
2023-05-24 13:37:59 +00:00
|
|
|
@@ -8,7 +8,7 @@ import Team from "@server/models/Team";
|
|
|
|
|
|
|
|
function getPendingMigrations() {
|
|
|
|
const commandResult = execSync(
|
|
|
|
- `yarn sequelize db:migrate:status${
|
|
|
|
+ `outline-sequelize db:migrate:status${
|
|
|
|
env.PGSSLMODE === "disable" ? " --env=production-ssl-disabled" : ""
|
|
|
|
}`
|
|
|
|
);
|
|
|
|
@@ -26,7 +26,7 @@ function getPendingMigrations() {
|
|
|
|
function runMigrations() {
|
|
|
|
Logger.info("database", "Running migrations...");
|
|
|
|
const cmdResult = execSync(
|
|
|
|
- `yarn db:migrate${
|
|
|
|
+ `outline-sequelize db:migrate${
|
|
|
|
env.PGSSLMODE === "disable" ? " --env=production-ssl-disabled" : ""
|
|
|
|
}`
|
|
|
|
);
|