b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
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")
|