SQL Schema Management for Production Deployments #5449
-
|
Context: Questions:
I noticed DR 2025-08-26 mentions Flyway placeholders as an example but leaves migration ownership to users. Looking for clarity on EDC's official stance. Thanks in advance! :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hey!
|
Beta Was this translation helpful? Give feedback.
-
|
In tractusx-edc, there's an extension that executes db schema migrations that you can take as input how your downstream project could tackle this. |
Beta Was this translation helpful? Give feedback.
Hey!
We do not now - nor do we have any plans to - provide any tooling for migrations, simply because it is (or can be) an extremely complex topic, on which most companies typically have their own opinions and for which they often have dedicated teams and tooling. Schema upgrades might come with data migration, and/or data conversion, which may require write access to the database to be temporarily suspended, and the DB to be put in a read-only mode, and that gets complicate rather quickly, and we haven't even touched on sharded or replicated DBs yet.
The schemas we publish reflect the current state, we don't provide any diff, changesets or versioned migrations. After all, EDC is not a …