-
Notifications
You must be signed in to change notification settings - Fork 390
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
Please help with database errors #341
Comments
You've added ip column into cart_storage. Change it to allow null value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried use database way for saving my carts but laravelshoppingcart start write incorrect info to database. See code example:
SQLSTATE[HY000]: General error: 1364 Field 'ip' doesn't have a default value (SQL: insert into
cart_storage(
id,
cart_data,
updated_at,
created_at) values (4yTlTDKu3oJOfzD_cart_items, O:32:"Darryldecode\Cart\CartCollection":1:{s:8:""
Please help correct it. I not change base code of package. What is it?
The text was updated successfully, but these errors were encountered: