-
Couldn't load subscription status.
- Fork 287
fix(db): clean-up old mailboxes account_id+name index #11938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/backport to stable5.5 |
|
Could you also comment so we are not even adding the migration for fresh installations? mail/lib/Migration/Version0161Date20190902103701.php Lines 79 to 82 in 1de7fe4
|
|
Therefore it's hopefully enough to check for both. We should consider adding a note in our developer documentation to avoid adding indexes without an explicit name. |
93cabf9 to
60e78b6
Compare
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
60e78b6 to
e77008b
Compare
Since it seems this is calculated somehow, can we just use the configured prefix (if any) and determine the expected name? |
And perhaps enforce it in new code? |
|
I find it suspicious that on some systems these indexes were created with different names. Since the difference appears to be only the prefix, I suspect there was an unintended change either on our side or in Doctrine that altered how the index names were generated, leading to this situation. |
Fixes #11931