Just in case that you are using an existing database, in which you cannot change the primary key.
Read about Primary key in the CakePHP documentation at this link:
http://book.cakephp.org/2.0/en/models/model-attributes.html
Enjoy, John
Ps. make a test environment, so you can test before putting it into production.
On Saturday, 14 September 2013 03:29:40 UTC+3, Eric Haskins wrote:
-- Read about Primary key in the CakePHP documentation at this link:
http://book.cakephp.org/2.0/en/models/model-attributes.html
Enjoy, John
Ps. make a test environment, so you can test before putting it into production.
On Saturday, 14 September 2013 03:29:40 UTC+3, Eric Haskins wrote:
Ok Ill have to wait code is in production right now.
[snip]
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment