Tame doctrine migrations / determine which we want to apply. #1917
Merged
Tame doctrine migrations / determine which we want to apply. #1917
Conversation
b83392f to
156245f
Compare
e9849bf to
3eebb07
Compare
MKodde
requested changes
Mar 5, 2026
src/OpenConext/EngineBlockBundle/Doctrine/Type/MetadataMduiType.php
Outdated
Show resolved
Hide resolved
src/OpenConext/EngineBlockBundle/Doctrine/Type/LegacyJsonType.php
Outdated
Show resolved
Hide resolved
64fdb01 to
d2045e2
Compare
d2045e2 to
80ef081
Compare
Prior to this change, doctrine wants to change the longtext types of consent_settings and idp_discoveries to `json`. This has some implications, as at a db level, as it requires a migration. This migration is not strictly needed. Ensure no database migrations are applied by configuring doctrine to use the old legacy mappings, until we have reason to upgrade in a coordinated operation. Even with this change, doctrine wants to remove the comments. But we can safely apply this in the next release, without causing any big migrations.
80ef081 to
495b5ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prior to this change, doctrine wants to change the longtext types of consent_settings and idp_discoveries to
json. This has some implications, as at a db level, as it requires a migration. This migration is not strictly needed.Ensure no database migrations are applied by configuring doctrine to use the old legacy mappings, until we have reason to upgrade in a coordinated operation.
Even with this change, doctrine wants to remove the comments. But we can safely apply this in the next release, without causing any big migrations.
After this change, doctrine wants to create a migration for this.
Before this change, Doctrine wanted to migrate to this: