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

'community_fof_upload_files_actor_id_hide_from_media_manager_index' is too long #424

Open
dascwf opened this issue Dec 12, 2024 · 1 comment
Labels

Comments

@dascwf
Copy link

dascwf commented Dec 12, 2024

It happened when I enabled this extension.

11.4.1-MariaDB-1:11.4.1+maria~ubu2204-log

Flarum ^1.8.9

composer require fof/upload:"*"

[2024-12-12 22:46:36] flarum.ERROR: PDOException: SQLSTATE[42000]:Syntax error or access violation: 1059 Identifier name 'community_fof_upload_files_actor_id_hide_from_media_manager_index' is too long in /ho.....munity/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
@dascwf dascwf added the bug label Dec 12, 2024
@DavideIadeluca
Copy link
Member

community_fof_upload_files_actor_id_hide_from_media_manager_index is one character longer then the max length in MariaDB.

@dascwf Is it a requirement in your case to use a DB prefix (in your case the prefix is community? If no then I would suggest that you look into dropping that prefix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants