mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Fix Postgres DB setup choice condition to require Prisma ORM
This commit is contained in:
5
.changeset/ninety-eyes-flow.md
Normal file
5
.changeset/ninety-eyes-flow.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"create-better-t-stack": patch
|
||||
---
|
||||
|
||||
Fix Postgres DB setup choice condition to require Prisma ORM
|
||||
@@ -25,7 +25,7 @@ export async function getDBSetupChoice(
|
||||
},
|
||||
{ value: "none" as const, label: "None", hint: "Manual setup" },
|
||||
];
|
||||
} else if (databaseType === "postgres") {
|
||||
} else if (databaseType === "postgres" && orm === "prisma") {
|
||||
options = [
|
||||
{
|
||||
value: "prisma-postgres" as const,
|
||||
|
||||
Reference in New Issue
Block a user