Skip to content

feat(db-mongodb): migrate relationships v2-v3#9182

Merged
DanRibbens merged 5 commits into
feat/update-mongoose-v8from
feat/mongo-relationships-migrations
Nov 14, 2024
Merged

feat(db-mongodb): migrate relationships v2-v3#9182
DanRibbens merged 5 commits into
feat/update-mongoose-v8from
feat/mongo-relationships-migrations

Conversation

@r1tsuu

@r1tsuu r1tsuu commented Nov 13, 2024

Copy link
Copy Markdown
Member

PR to #9115
Adds predefined migration @payloadcms/db-mongodb/relationships-v2-v3 that converts all string relationship values to ObjectIDs.
Fixes / refactors versions-v1-v2 migration, ensures the transaction is used
Adds tests for Mongoose predefined migrations

@r1tsuu r1tsuu force-pushed the feat/mongo-relationships-migrations branch from 69c0ffb to 2296fa8 Compare November 13, 2024 19:18
@r1tsuu r1tsuu force-pushed the feat/mongo-relationships-migrations branch from 4194c0a to 2e7e23a Compare November 13, 2024 19:58
@DanRibbens DanRibbens merged commit 98e0119 into feat/update-mongoose-v8 Nov 14, 2024
@DanRibbens DanRibbens deleted the feat/mongo-relationships-migrations branch November 14, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants