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

[3.0.0.0] "code" column in "setting" table is too short #5408

Closed
ClearThinking opened this issue May 3, 2017 · 1 comment
Closed

[3.0.0.0] "code" column in "setting" table is too short #5408

ClearThinking opened this issue May 3, 2017 · 1 comment

Comments

@ClearThinking
Copy link

Because 3.0 now requires the code be prefixed with the extension type, it's very easy to go over 32 characters for an extension code. I'd recommend increasing it to at least 64, or perhaps just use 255 for both the "code" and "key" columns in the database, to allow for longer-named settings.

@ClearThinking
Copy link
Author

Thanks! You should also change the "key" column for the "setting" table, since all keys need to be prefixed with the code, so it will always be longer than the "code" column.

OpenCartAddons added a commit to OpenCartAddons/opencart that referenced this issue May 5, 2017
Increased "key" character limit as per opencart#5408
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants