On Nov 2, 2007, at 12:00 PM, Chris Thompson wrote:
Where I work, we are testing out CakePHP to replace our existing
codebase.
I have two questions.
1. Do all primary keys for tables have to be 'id'?
By convention, yes. By configuration, no. See $primaryKey in the Model.
snip
For
Where I work, we are testing out CakePHP to replace our existing
codebase.
I have two questions.
1. Do all primary keys for tables have to be 'id'?
2. I have 3 tables, blogs, posts, users.
bblogs/b
uid/u
user_id
title
subtitle
bposts/b
uid/u
blog_id
user_id
added
updated
text
busers/b
uid/u