fix(db-postgres): uuid custom db name (#6409)

## Description

Fixes an issue with creating versions when using custom DB names,
`uuid`, and drafts.

v3 PR [here](https://github.com/payloadcms/payload/pull/6408)

- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md)
document in this repository.

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)

## Checklist:

- [x] Existing test suite passes locally with my changes
This commit is contained in:
Patrik
2024-05-17 13:58:08 -04:00
committed by GitHub
parent cece39957f
commit db5f3f3ccd
2 changed files with 4 additions and 3 deletions

View File

@@ -134,7 +134,9 @@ export default buildConfigWithDefaults({
],
},
],
versions: true,
versions: {
drafts: true,
},
},
],
globals: [