Skip to content

Error due to table prefix with mixed uppercase and lowercase letters. #63

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

Open
bredecl opened this issue Apr 10, 2025 · 0 comments
Open

Comments

@bredecl
Copy link
Contributor

bredecl commented Apr 10, 2025

In this file

$name = Str::snake(Str::studly($only));

When the DB prefix is something like qgQezmtYw_, it gets converted into qgQezmtYw_qg_qezmt_yw_.
To fix this, comment out that line and replace $only = array_pop($paths); with $name = array_pop($paths);.
That should work fine.

I'm keeping this here as a reference and will try to work on a permanent solution later.

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

1 participant