Payload Migration #12137
Unanswered
rongratdev
asked this question in
Q&A
Payload Migration
#12137
Replies: 1 comment
-
We are working on improving the docs around migrations: #10903
Migrations work quite a bit different between postgres and mongodb. In Postgres we use the payload config to create the drizzle schema on start. In MongoDB this happens also but you your collections are made for you and indexes are created on payload start. To access your data you need to make use of the Does this help? I will be writing new docs for all the database adapter methods soon. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How migration works in payload? Does it automatically connect with collection? There's a bit info about migration in docs and no one discuss about it.
Beta Was this translation helpful? Give feedback.
All reactions