Skip to content

Commit

Permalink
fix drizzle config
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanru committed Oct 24, 2023
1 parent 0e11e4e commit b462fbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/src/installers/drizzle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ export const drizzleInstaller: Installer = ({
sqlite: "better-sqlite",
}[databaseProvider]
);
if (databaseProvider === "sqlite")
configContent = configContent.replace("connectionString:", "url:");

schemaContent = schemaContent.replace(
"drizzle-orm/mysql-core",
`drizzle-orm/${dbType}-core`
Expand Down

0 comments on commit b462fbe

Please sign in to comment.