mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Replace postgres package with pg for PostgreSQL support with drizzle
This commit is contained in:
@@ -45,8 +45,8 @@ export async function setupDatabase(
|
||||
});
|
||||
} else if (databaseType === "postgres") {
|
||||
addPackageDependency({
|
||||
dependencies: ["drizzle-orm", "postgres"],
|
||||
devDependencies: ["drizzle-kit"],
|
||||
dependencies: ["drizzle-orm", "pg"],
|
||||
devDependencies: ["drizzle-kit", "@types/pg"],
|
||||
projectDir: serverDir,
|
||||
});
|
||||
} else if (databaseType === "mysql") {
|
||||
|
||||
Reference in New Issue
Block a user