chore: renames mongoose db adapter refs to mongodb

This commit is contained in:
James
2024-04-01 17:24:43 -04:00
parent 8fc8aaa6dd
commit c461a7fa15
5 changed files with 12 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ export default async () => {
process.env.NODE_OPTIONS = '--no-deprecation'
if (
(!process.env.PAYLOAD_DATABASE || process.env.PAYLOAD_DATABASE === 'mongoose') &&
(!process.env.PAYLOAD_DATABASE || process.env.PAYLOAD_DATABASE === 'mongodb') &&
!global._mongoMemoryServer
) {
global._mongoMemoryServer = await MongoMemoryReplSet.create({