Replies: 1 comment
-
When using relational databases like PostGres with Payload, we are finding that it is essential to use the EMC pattern. As an example say you have a field:
If you decide that
What needs to happen is that you add a temporary column |
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.
-
Introduction
The
Expand, Migrate, and Contract (EMC) pattern
is a widely adopted strategy for making safe and backward-compatible database schema changes. It ensures smooth transitions without downtime or breaking existing functionality. I am interested in understanding how PayloadCMS supports this pattern and how the community implements it for migrations.Questions for the Community
Looking forward to your insights and experiences!
Beta Was this translation helpful? Give feedback.
All reactions