Skip to content

Commit

Permalink
use planetscale as default for drizzle
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanru committed Oct 24, 2023
1 parent c4565f9 commit 25d7e33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ export const runCli = async (): Promise<CliResults> => {
appName: project.name ?? cliResults.appName,
packages,
databaseProvider:
(project.databaseProvider as DatabaseProvider) || "sqlite",
(project.databaseProvider as DatabaseProvider) ||
(packages.includes("drizzle") ? "planetscale" : "sqlite"),
flags: {
...cliResults.flags,
appRouter: project.appRouter ?? cliResults.flags.appRouter,
Expand Down

0 comments on commit 25d7e33

Please sign in to comment.