mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
chore: ⬆️ Upgrade dependencies
This commit is contained in:
parent
7cdbb8ba6f
commit
7f17074d16
4 changed files with 79 additions and 84 deletions
|
|
@ -32,8 +32,10 @@ export const db =
|
|||
? withReplicas(
|
||||
drizzle(primaryDb, { schema }),
|
||||
replicas.map((r) => drizzle(r, { schema })) as [
|
||||
NodePgDatabase<typeof schema>,
|
||||
...NodePgDatabase<typeof schema>[],
|
||||
// biome-ignore lint/style/useNamingConvention: <explanation>
|
||||
NodePgDatabase<typeof schema> & { $client: Pool },
|
||||
// biome-ignore lint/style/useNamingConvention: <explanation>
|
||||
...(NodePgDatabase<typeof schema> & { $client: Pool })[],
|
||||
],
|
||||
)
|
||||
: drizzle(primaryDb, { schema });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue