Skip to content
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

EZP-31592: Added missing deprecation info to data/mysql/schema.sql #3024

Conversation

alongosz
Copy link
Member

@alongosz alongosz commented Apr 21, 2020

Question Answer
JIRA issue EZP-31592
Bug/Improvement yes
Target version 7.5
BC breaks no
Tests pass yes
Doc needed ibexa/documentation-developer#1029

When introducing PostgreSQL support via #2552 I've replaced usage of data/mysql/schema.sql with generic eZ/Bundle/EzPublishCoreBundle/Resources/config/storage/legacy/schema.yaml.
The intention was to deprecate schema.sql because it was possible 3rd party packages or project relied on it directly or at least on CleanInstaller consuming it. I've forgotten to do it, which I've fixed in this PR.

Please note that I'm not deprecating anything in the next 2.5.x, just adding a missing statement about the fact it's deprecated since eZ Platform 2.5.0.

I've tried to make this warning appear on console, but while it's possible, with hack-ish SELECT, it breaks CleanInstaller. MySQL, compared to other engines, is quite poor unfortunately.

QA

Sanity on SQL script execution
Common branch for #3024 and #3025: ezp-31592-31586-schema-sql-combo-for-qa

TODO:

  • Implement feature / fix a bug.
  • Ask for Code Review.

@alongosz alongosz merged commit 73302ec into ezsystems:7.5 Apr 24, 2020
@alongosz alongosz deleted the ezp-31592-fix-missing-deprecation-of-sql-schema branch April 24, 2020 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

7 participants