Thursday, August 9, 2012

Does CakePHP convention require primary key to be auto-incrementing?

Dear CakePHP gurus,

I am using cakephp scaffolding feature to build a basic CRUD application. I have a table which gives problem when adding new record. I discover that the reason is that the primary key is not auto-incremented. May I know whether this is part of CakePHP convention that primary key has to be auto-incremented?

Other tables with primary keys which are auto-incremented do not give me problems.

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate