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
Database driver will fail to create records in strict db configruations. #65
Comments
+1 |
Even with the suggested fix by nCrazed, I still have same error:
|
@l3xq can paste the full error with the query that triggers it? |
@nCrazed Sorry it took so long to reply. |
@l3xq I see that the As far as I can tell this is the only source of @Torann any plans on making the package testable without the entire laravel framework? |
Running
php artisan currency:manage add USD
will result in an INSERT query that attempts to insert an empty string (''
) value into the integer id column which yields the following error on PostgreSQL:and probably something similar on MySQL with relevant strict modes enabled.
This is due to this default array. Since your migration sets the
id
column toauto increment
theid
should be dropped from the default array completely.The text was updated successfully, but these errors were encountered: