mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
16 lines
569 B
Diff
16 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")
|