Skip to content

Commit

Permalink
fix(db-postgres): incorrect schema type on adapter (#7459)
Browse files Browse the repository at this point in the history
fixes a db-postgres type issue that was introduced in
#7453
  • Loading branch information
DanRibbens authored Aug 1, 2024
1 parent d307d62 commit 449c16d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/db-postgres/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ export type PostgresAdapter = {
relations: Record<string, GenericRelation>
relationshipsSuffix?: string
resolveInitializing: () => void
schema: DrizzleConfig
schemaName?: Args['schemaName']
sessions: {
[id: string]: {
Expand Down Expand Up @@ -183,7 +182,7 @@ declare module 'payload' {
rejectInitializing: () => void
relationshipsSuffix?: string
resolveInitializing: () => void
schema: Record<string, GenericEnum | GenericRelation | GenericTable>
schema: Record<string, unknown>
schemaName?: Args['schemaName']
tableNameMap: Map<string, string>
versionsSuffix?: string
Expand Down

0 comments on commit 449c16d

Please sign in to comment.