laravelshoppingcart
laravelshoppingcart copied to clipboard
Please help with database errors
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?
You've added ip column into cart_storage. Change it to allow null value