Skip to content

Commit

Permalink
fix: make drizzle next steps more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel3108 committed Feb 21, 2025
1 parent 94eeec3 commit eb80b6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-beds-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'sv': patch
---

fix: make `drizzle` next steps more precise
4 changes: 4 additions & 0 deletions packages/addons/drizzle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ export default defineAddon({
steps.push(
`Run ${highlighter.command(`${packageManager} run db:start`)} to start the docker container`
);
} else {
steps.push(
`Check ${highlighter.env('DATABASE_URL')} in ${highlighter.path('.env')} and adjust it to your needs`
);
}
steps.push(
`Run ${highlighter.command(`${packageManager} run db:push`)} to update your database schema`
Expand Down

0 comments on commit eb80b6b

Please sign in to comment.