94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
22 lines
771 B
Diff
22 lines
771 B
Diff
diff --git a/server/utils/startup.ts b/server/utils/startup.ts
|
|
index 444de475..b883f71a 100644
|
|
--- a/server/utils/startup.ts
|
|
+++ b/server/utils/startup.ts
|
|
@@ -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" : ""
|
|
}`
|
|
);
|