On Thu, Dec 3, 2009 at 3:22 AM, John Andersen <j.andersen...@gmail.com> wrote:
> Sorry to say Anand, but your schema does not conform to what CakePHP
> expects, which makes it difficult to make it work with CakePHP,
> without specifying a lot of information.
>
> Suggest you rethink your schema, so that:
> 1) It conforms to CakePHP (table names plural, foreign keys equal
> foreign key table name singular + underscore + 'id', etc.;

Not really needed.  If you cannot conform to Cake conventions,
just configure it.  Model attributes like $useTable, $useDbConfig,
$primaryKey and $foreign_key for associations are your friends.

http://book.cakephp.org/view/71/Model-Attributes

Best regards.

--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to