-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Increase the size of the flag_data field #13579
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
The flag_data field in the flag-table was to small for reimport of app:config:dump exports.
Hi @aschrammel! Thanks for your contribution! |
Hi @miguelbalparda! |
@aschrammel initial |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@renevogl please rework this change as data upgrade, do amend commit and force push.
@orlangur I've now had a look, but where should we place the upgrade script? The Installer itself is in |
@dmanners anything to add here? |
Hey @miguelbalparda I think there should be something that could be done in the I am not really sure if or how the setup module works with upgrade scripts. |
Closing due to lack of activity, feel free to reopen if anything changes. |
The
flag_data
field in theflag
table is too small to reimport a config generated bybin/magento app:config:dump
with more than 64KB size.Increasing this field should be considered, as exporting the config and reimporting it is the suggested way for pipeline deployment.
Description
If a
bin/magento app:config:dump
produces a config.php with more than 64KB of size, thebin/magento app:config:import
orbin/magento setup:upgrade
will fail because of theTEXT
field limitation fromflag_data
in theflag
table.This PR increases the
flag_data
field toMEDIUMTEXT
accepting 16MB.Fixed Issues (if relevant)
Manual testing scenarios
bin/magento setup:install
flag_data
field is aTEXT
field accepting 64KBflag_data
field is aMEDIUMTEXT
field accepting 16MBContribution checklist