-
Notifications
You must be signed in to change notification settings - Fork 54
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
Error during the migration generation #29
Comments
Can you just replace |
Thanks for letting me know. |
I hope you got the error. You already have a migration for your users table. |
I fixed it temporarily but just informed you to fix it permanently :) P.S. perfect work... |
Hi, in addition to this error I discovered that you don't handle the UNSIGNED attribute in MySQL 8. |
I made some changes starting on line 127 `
I also added 'json' => 'json', to your $columnMap Works well for my purposes but I didn't test it on anything else. Thanks for a great project :) |
@hardkraft thanks for code suggestion. I will definitely implement on next major version 5.0 which is under development now. |
I received this exact issue today in a fresh project, fresh "composer require digitaldream/laracrud --dev" - and line 222 had: |
Hi @nicholasbieber |
I am getting an error when trying to generate migration from DB.
vendor\digitaldream\laracrud\src\lara-crud\Crud\MigrationCrud.php:222
218| * @throws \Exception
219| */
220| public function generateClassName($table)
221| {
Exception trace:
1 LaraCrud\Crud\MigrationCrud::generateClassName("users")
vendor\digitaldream\laracrud\src\lara-crud\Crud\MigrationCrud.php:94
2 LaraCrud\Crud\MigrationCrud::template()
vendor\digitaldream\laracrud\src\lara-crud\Crud\MigrationCrud.php:110
Please use the argument -v to see more details.
The text was updated successfully, but these errors were encountered: