pg?
This commit is contained in:
parent
f649ff44e8
commit
8f154e2af3
2 changed files with 9 additions and 2 deletions
|
@ -9,9 +9,8 @@ generator client {
|
|||
}
|
||||
|
||||
datasource db {
|
||||
provider = "mysql"
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
relationMode = "prisma"
|
||||
}
|
||||
|
||||
model Account {
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue