Skip to content

Commit

Permalink
fix(db-postgres): migrate down error (#4861)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRibbens committed Jan 17, 2024
1 parent b99d24f commit dfba522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/db-postgres/src/migrateDown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function migrateDown(this: PostgresAdapter): Promise<void> {
}

const start = Date.now()
const req = {} as PayloadRequest
const req = { payload } as PayloadRequest

try {
payload.logger.info({ msg: `Migrating down: ${migrationFile.name}` })
Expand Down

0 comments on commit dfba522

Please sign in to comment.