We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a48a5a3 commit f40685aCopy full SHA for f40685a
1 file changed
packages/console/core/src/drizzle/index.ts
@@ -14,7 +14,7 @@ export namespace Database {
14
PlanetscaleQueryResultHKT,
15
PlanetScalePreparedQueryHKT,
16
Record<string, never>,
17
- ExtractTablesWithRelations<Record<string, never>>
+ ExtractTablesWithRelations<Record<string, never>, Record<string, never>>
18
>
19
20
const client = memo(() => {
@@ -23,7 +23,7 @@ export namespace Database {
23
username: Resource.Database.username,
24
password: Resource.Database.password,
25
})
26
- const db = drizzle(result, {})
+ const db = drizzle({ client: result })
27
return db
28
29
0 commit comments