Fix Postgres DB setup choice condition to require Prisma ORM

This commit is contained in:
Aman Varshney
2025-04-10 11:28:29 +05:30
parent b9431bdb20
commit c84bfcd4ee
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"create-better-t-stack": patch
---
Fix Postgres DB setup choice condition to require Prisma ORM

View File

@@ -25,7 +25,7 @@ export async function getDBSetupChoice(
}, },
{ value: "none" as const, label: "None", hint: "Manual setup" }, { value: "none" as const, label: "None", hint: "Manual setup" },
]; ];
} else if (databaseType === "postgres") { } else if (databaseType === "postgres" && orm === "prisma") {
options = [ options = [
{ {
value: "prisma-postgres" as const, value: "prisma-postgres" as const,