This commit is contained in:
Atridad Lahiji 2023-07-03 14:57:34 -06:00
parent f649ff44e8
commit 8f154e2af3
No known key found for this signature in database
2 changed files with 9 additions and 2 deletions

View file

@ -9,9 +9,8 @@ generator client {
}
datasource db {
provider = "mysql"
provider = "postgresql"
url = env("DATABASE_URL")
relationMode = "prisma"
}
model Account {

View file

@ -28,6 +28,14 @@ export const api = createTRPCNext<AppRouter>({
*/
transformer: superjson,
queryClientConfig: {
defaultOptions: {
queries: {
refetchOnWindowFocus: false,
},
},
},
/**
* Links used to determine request flow from client to server.
*