15 lines
569 B
Diff
15 lines
569 B
Diff
diff --git a/server/utils/startup.ts b/server/utils/startup.ts
|
|
index 7554b854..6641f805 100644
|
|
--- a/server/utils/startup.ts
|
|
+++ b/server/utils/startup.ts
|
|
@@ -8,9 +8,7 @@ import Team from "@server/models/Team";
|
|
export function checkPendingMigrations() {
|
|
try {
|
|
const commandResult = execSync(
|
|
- `yarn sequelize db:migrate:status${
|
|
- env.PGSSLMODE === "disable" ? " --env=production-ssl-disabled" : ""
|
|
- }`
|
|
+ "outline-sequelize db:migrate:status"
|
|
);
|
|
const commandResultArray = Buffer.from(commandResult)
|
|
.toString("utf-8")
|