feat(cli): prisma + workers, prisma + turso, planetscale (postgres/mysql) support (#567)

This commit is contained in:
Aman Varshney
2025-09-08 12:15:26 +05:30
committed by GitHub
parent 33344d91be
commit cd5d0f0aeb
66 changed files with 1486 additions and 729 deletions

View File

@@ -11,9 +11,15 @@ generator client {
{{#if (eq runtime "workers")}}
runtime = "workerd"
{{/if}}
{{#if (eq dbSetup "planetscale")}}
previewFeatures = ["driverAdapters"]
{{/if}}
}
datasource db {
provider = "mysql"
url = env("DATABASE_URL")
{{#if (eq dbSetup "planetscale")}}
relationMode = "prisma"
{{/if}}
}