laravel / lumen-framework

The Laravel Lumen Framework.
https://lumen.laravel.com
MIT License
1.48k stars 419 forks source link

Method default on luman 6 migrations generate an SQL error #977

Closed nabihnadhif closed 5 years ago

nabihnadhif commented 5 years ago

Description:

When we made upgrade our project from Lumen version 5.8 to version 6.0, all migrations has stopped working as expected. An SQL error was generated with the following message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('0'),uuidvarchar(255) null,providervarchar(255) null, at line

Fix:

This bug is already signaled and fixed there laravel/ideas/issues/1832.

Suggestion:

Could you publish please a new release with the fix? Our production pipeline is blocked due to this bug.

Thank you.

driesvints commented 5 years ago

@nnadhif this should be fixed in v6.0.3 of Laravel (illuminate components). Can you verify that you're using v6.0.3 of the illuminate components in your composer.lock file?

nabihnadhif commented 5 years ago

in our composer.lock, illuminate components are on v6.0.2.

nabihnadhif commented 5 years ago

I just updated the dependencies, the migrations are working again.

Thank you for your help @driesvints.