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

Command db:show doesn't handle unkown type exception properly #43670

Closed
Slubby opened this issue Aug 11, 2022 · 2 comments
Closed

Command db:show doesn't handle unkown type exception properly #43670

Slubby opened this issue Aug 11, 2022 · 2 comments

Comments

@Slubby
Copy link
Contributor

Slubby commented Aug 11, 2022

  • Laravel Version: 9.24.0
  • PHP Version: 8.1.8
  • Database Driver & Version: MySql 5.7.39

Description:

When you run the commanf php artisan db:show and you have a table in your database with an enum column it will throw an exception.

Unknown database type enum requested, Doctrine\DBAL\Platforms\MySQL57Platform may not support it.

  at vendor/doctrine/dbal/src/Platforms/AbstractPlatform.php:418

Steps To Reproduce:

  1. Create a database with a table where one column is an enum type
  2. Run the command php artisan db:show
  3. See the exception
@jbrooksuk
Copy link
Member

This was fixed in #43635 and will be released shortly.

@Slubby
Copy link
Contributor Author

Slubby commented Aug 11, 2022

O sorry didn't see that one

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