File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
apps/cli/src/helpers/core Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ function generateDatabaseSetup(
549549
550550 const isBackendSelf = backend === "self" ;
551551 const envPath = isBackendSelf ? "apps/web/.env" : "apps/server/.env" ;
552- const dbLocalPath = isBackendSelf ? "apps/web" : "apps/server ";
552+ const dbLocalPath = "packages/db ";
553553
554554 let setup = "## Database Setup\n\n" ;
555555
@@ -677,9 +677,8 @@ function generateScriptsList(
677677- \`${ packageManagerRunCmd } db:studio\`: Open database studio UI` ;
678678
679679 if ( database === "sqlite" && orm === "drizzle" ) {
680- const dbLocalPath = isBackendSelf ? "apps/web" : "apps/server" ;
681680 scripts += `
682- - \`cd ${ dbLocalPath } && ${ packageManagerRunCmd } db:local\`: Start the local SQLite database` ;
681+ - \`cd packages/db && ${ packageManagerRunCmd } db:local\`: Start the local SQLite database` ;
683682 }
684683 }
685684
You can’t perform that action at this time.
0 commit comments