diff --git a/cli/src/cli/index.ts b/cli/src/cli/index.ts index b8cbd12061..dc089b712a 100644 --- a/cli/src/cli/index.ts +++ b/cli/src/cli/index.ts @@ -335,7 +335,8 @@ export const runCli = async (): Promise => { 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,