sugarforever / chat-ollama

ChatOllama is an open source chatbot based on LLMs. It supports a wide range of language models, and knowledge base management.
MIT License
2.64k stars 412 forks source link

docker安装如何更新prisma Update available 5.12.1 -> 5.14.0 #462

Open jingnorth opened 5 months ago

jingnorth commented 5 months ago

请问需要更新prisma吗,docker安装的如何更新,需要在哪个容器内更新呢? [root@wae chartollama]# docker compose exec chatollama npx prisma migrate dev WARN[0000] /home/llm/chartollama/docker-compose.yaml: version is obsolete

Prisma schema loaded from prisma/schema.prisma Datasource "sqlite": SQLite database "chatollama.sqlite" at "file:/app/sqlite/chatollama.sqlite"

Already in sync, no schema change or pending migration was found.

✔ Generated Prisma Client (v5.12.1) to ./node_modules/.pnpm/https://github.com/prisma+client@5.12.1_prisma@5.12.1/node_modules/@prisma/client in 122ms

┌─────────────────────────────────────────────────────────┐ │ Update available 5.12.1 -> 5.14.0 │ │ Run the following to update │ │ npm i --save-dev prisma@latest │ │ npm i @prisma/client@latest │ └─────────────────────────────────────────────────────────┘

sugarforever commented 5 months ago

可以不用更新。这个要更新的话是在代码里等prisma升级。