[PR #538] [MERGED] Remove explicit Prisma step instruction in the development setup #3386

Closed
opened 2026-02-22 18:33:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/538
Author: @bkowshik
Created: 1/5/2024
Status: Merged
Merged: 1/5/2024
Merged by: @timothycarambat

Base: masterHead: prisma-development-setup


📝 Commits (1)

  • 8fa08bc Remove explicit Prisma step instruction in the development setup

📊 Changes

1 file changed (+8 additions, -13 deletions)

View changed files

📝 README.md (+8 -13)

📄 Description

I did the setup for development on a Macbook today and noticed that the yarn setup also did the Prisma setup. So, in this PR I am removing the explict instruction in the documentation to run Prisma setup and migrate the database.

$ yarn setup
$ cd server && npx prisma migrate dev --name init
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db"

SQLite database anythingllm.db created at file:../storage/anythingllm.db

Applying migration `20230921191814_init`
Applying migration `20231101001441_init`
Applying migration `20231101195421_init`
Applying migration `20231129012019_add`

The following migration(s) have been applied:

migrations/
  └─ 20230921191814_init/
    └─ migration.sql
  └─ 20231101001441_init/
    └─ migration.sql
  └─ 20231101195421_init/
    └─ migration.sql
  └─ 20231129012019_add/
    └─ migration.sql

Your database is now in sync with your schema.

✔ Generated Prisma Client (v5.3.0) to ./node_modules/@prisma/client in 64ms


Running seed command `node prisma/seed.js` ...

🌱  The seed command has been executed.


┌─────────────────────────────────────────────────────────┐
│  Update available 5.3.1 -> 5.7.1                        │
│  Run the following to update                            │
│    yarn add --dev prisma@latest                         │
│    yarn add @prisma/client@latest                       │
└─────────────────────────────────────────────────────────┘
$ cd server && npx prisma db seed
Running seed command `node prisma/seed.js` ...

🌱  The seed command has been executed.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/538 **Author:** [@bkowshik](https://github.com/bkowshik) **Created:** 1/5/2024 **Status:** ✅ Merged **Merged:** 1/5/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `prisma-development-setup` --- ### 📝 Commits (1) - [`8fa08bc`](https://github.com/Mintplex-Labs/anything-llm/commit/8fa08bc7a90747874be7d84c117ae3ab23c07fa2) Remove explicit Prisma step instruction in the development setup ### 📊 Changes **1 file changed** (+8 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+8 -13) </details> ### 📄 Description I did the setup for development on a Macbook today and noticed that the `yarn setup` also did the Prisma setup. So, in this PR I am removing the explict instruction in the documentation to run Prisma setup and migrate the database. ```bash $ yarn setup $ cd server && npx prisma migrate dev --name init Prisma schema loaded from prisma/schema.prisma Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db" SQLite database anythingllm.db created at file:../storage/anythingllm.db Applying migration `20230921191814_init` Applying migration `20231101001441_init` Applying migration `20231101195421_init` Applying migration `20231129012019_add` The following migration(s) have been applied: migrations/ └─ 20230921191814_init/ └─ migration.sql └─ 20231101001441_init/ └─ migration.sql └─ 20231101195421_init/ └─ migration.sql └─ 20231129012019_add/ └─ migration.sql Your database is now in sync with your schema. ✔ Generated Prisma Client (v5.3.0) to ./node_modules/@prisma/client in 64ms Running seed command `node prisma/seed.js` ... 🌱 The seed command has been executed. ┌─────────────────────────────────────────────────────────┐ │ Update available 5.3.1 -> 5.7.1 │ │ Run the following to update │ │ yarn add --dev prisma@latest │ │ yarn add @prisma/client@latest │ └─────────────────────────────────────────────────────────┘ $ cd server && npx prisma db seed Running seed command `node prisma/seed.js` ... 🌱 The seed command has been executed. ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:33:40 -05:00
yindo closed this issue 2026-02-22 18:33:40 -05:00
yindo changed title from [PR #538] Remove explicit Prisma step instruction in the development setup to [PR #538] [MERGED] Remove explicit Prisma step instruction in the development setup 2026-06-05 15:13:09 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3386