We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The table name returned by $model->getTable() is unprefixed, causing errors on the describe query if a table prefix is present.
$model->getTable()
describe
laravel-schematics/src/Http/Controllers/ModelsController.php
Line 59 in c69a2e8
Line 60 in c69a2e8
This could be solved by adding the prefix manually:
$safeTableName = \DB::getQueryGrammar()->wrap($model->getConnection()->getTablePrefix() . $table);
I had this issue occur on an older Laravel version: 5.7
Not tested on anything newer.
The text was updated successfully, but these errors were encountered:
Hi @SabatinoMasala,
Thnx for the suggestion! I'll try it out in my environments and take it along with the next release.
Sorry, something went wrong.
No branches or pull requests
The table name returned by
$model->getTable()
is unprefixed, causing errors on thedescribe
query if a table prefix is present.laravel-schematics/src/Http/Controllers/ModelsController.php
Line 59 in c69a2e8
laravel-schematics/src/Http/Controllers/ModelsController.php
Line 60 in c69a2e8
This could be solved by adding the prefix manually:
I had this issue occur on an older Laravel version: 5.7
Not tested on anything newer.
The text was updated successfully, but these errors were encountered: