how did you initialise the database?
Oct 2, 2018
4
Level 1
auto increments id is not working after hosting file.
Hi, I just add my laravel project in my cpanel but when I try to add it's showing an error. SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value although I created auto increments my id column and it's working fine in localhost but showing this error after adding it to live server.
Please or to participate in this conversation.