docs: clarify working directory for drizzle migration#2375
Merged
waleedlatif1 merged 1 commit intosimstudioai:mainfrom Dec 15, 2025
Merged
docs: clarify working directory for drizzle migration#2375waleedlatif1 merged 1 commit intosimstudioai:mainfrom
waleedlatif1 merged 1 commit intosimstudioai:mainfrom
Conversation
Added a note to Self-hosted: Manual Setup that you should cd apps/sim before running bunx drizzle-kit migrate so that drizzle picks up the correct .env file.
|
@Shivam-002 is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Greptile OverviewGreptile SummaryAdds a clarifying note to the manual setup instructions that users should Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant Terminal
participant DrizzleKit
participant EnvConfig as apps/sim/.env
participant DrizzleConfig as apps/sim/drizzle.config.ts
User->>Terminal: cd apps/sim
Note over Terminal: Set working directory to apps/sim
User->>Terminal: bunx drizzle-kit migrate --config=./drizzle.config.ts
Terminal->>DrizzleKit: Execute migration
DrizzleKit->>DrizzleConfig: Load config from ./drizzle.config.ts
DrizzleConfig->>EnvConfig: Import env from lib/core/config/env.ts
EnvConfig-->>DrizzleConfig: Return DATABASE_URL
DrizzleConfig-->>DrizzleKit: Return database credentials
DrizzleKit->>DrizzleKit: Run migrations
DrizzleKit-->>User: Migration complete
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
waleedlatif1
pushed a commit
that referenced
this pull request
Dec 18, 2025
icecrasher321
added a commit
that referenced
this pull request
Dec 18, 2025
* fix(docs): clarify working directory for drizzle migration (#2375) * fix(landing): prevent url encoding for spaces for footer links (#2376) * fix: handle empty body.value in Teams webhook notification parser (#2425) * Update directory path for migration command --------- Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com> Co-authored-by: Waleed <walif6@gmail.com> Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com> Co-authored-by: icecrasher321 <icecrasher321@users.noreply.github.com> Co-authored-by: Siddharth Ganesan <33737564+Sg312@users.noreply.github.com> Co-authored-by: mosa <mosaxiv@gmail.com> Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com> Co-authored-by: Adam Gough <77861281+aadamgough@users.noreply.github.com> Co-authored-by: Shivam <shivamprajapati035@gmail.com> Co-authored-by: Gaurav Chadha <65453826+Chadha93@users.noreply.github.com> Co-authored-by: root <root@Delta.localdomain>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a note to Self-hosted: Manual Setup that you should
cd apps/simbefore runningbunx drizzle-kit migrateso that drizzle picks up the correct .env file.Summary
Clarifies that the user must change into
apps/simbefore running the database migration to ensure the correct.envfile is used.Fixes #N/A
Type of Change
Testing
Reviewed locally by following the setup steps in the documentation to ensure the added note makes the migration command clear.
Checklist
Screenshots/Videos