Skip to content

Commit 449c16d

Browse files
authored
fix(db-postgres): incorrect schema type on adapter (#7459)
fixes a db-postgres type issue that was introduced in #7453
1 parent d307d62 commit 449c16d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/db-postgres/src/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ export type PostgresAdapter = {
141141
relations: Record<string, GenericRelation>
142142
relationshipsSuffix?: string
143143
resolveInitializing: () => void
144-
schema: DrizzleConfig
145144
schemaName?: Args['schemaName']
146145
sessions: {
147146
[id: string]: {
@@ -183,7 +182,7 @@ declare module 'payload' {
183182
rejectInitializing: () => void
184183
relationshipsSuffix?: string
185184
resolveInitializing: () => void
186-
schema: Record<string, GenericEnum | GenericRelation | GenericTable>
185+
schema: Record<string, unknown>
187186
schemaName?: Args['schemaName']
188187
tableNameMap: Map<string, string>
189188
versionsSuffix?: string

0 commit comments

Comments
 (0)