I am using laravel 5.2 to develop my web application. i recently uploaded the web application from localhost to my hosting account. I also imported MySQL tables from phpmyadmin localhost to my phpmyadmin localhost in my hosting account.
When I opened my phpmyadmin I noticed that in one of my tables, the
id (which is set to auto-increment) is not working. It is displaying 0 in all the rows.
When I set the
id to auto-increment in phpmyadmin it gives me the following error:
#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key