I am a beginner to cakephp and started to look into the tutorials after successfully installing and configuring. I created a database in MySQL and created a table users that contains the attributes email, password, created and email being the primary key.
I ran a command bake all users in order to auto generate code. When I tried to add new user by going to http://<path>/users it is only asking for password field but not email field and an empty space is getting inserted for email field. And when I tried to add another user it is showing an error that value of primary key should be different. Where am I doing wrong?
id? - skywalkerid. It was there in the tutorial but I ignored it as I don't want. Is it necessary? - Mani Sankaridfield, and youremailfield can be unique if you want that. - skywalker