From 25d7e33613f68e834e8fdf4b8caf916627614e8a Mon Sep 17 00:00:00 2001 From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com> Date: Wed, 25 Oct 2023 02:37:44 +0300 Subject: [PATCH] use planetscale as default for drizzle --- cli/src/cli/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,