mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-05-02 17:07:13 +00:00
deprecate /migrate endpoint
This commit is contained in:
parent
7de23dbb2d
commit
1cd255c1ec
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue