Skip to content

Commit

Permalink
deprecate /migrate endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycarambat committed Mar 26, 2024
1 parent 7de23db commit 1cd255c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/endpoints/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ function systemEndpoints(app) {
});

app.get("/migrate", async (_, response) => {
const execSync = require("child_process").execSync;
execSync("npx prisma migrate deploy --schema=./prisma/schema.prisma", {
stdio: "inherit",
});
response.sendStatus(200);
});

Expand Down

0 comments on commit 1cd255c

Please sign in to comment.