Damn, the error was pretty intuitable: most tables in my database lacked of AUTO_INCREMENT
Since ID is not defined in the INSERT query, it will be 0 unless AUTO_INCREMENT
is setted to ID.
So I just fixed it by setting AUTO_INCREMENT
Damn, the error was pretty intuitable: most tables in my database lacked of AUTO_INCREMENT
Since ID is not defined in the INSERT query, it will be 0 unless AUTO_INCREMENT
is setted to ID.
So I just fixed it by setting AUTO_INCREMENT