Hi John,

That prblem got resolved as i changed the storetype model name to
store_type. And it worked.

Thanks for your kind concern

Thank you,

On Wed, May 12, 2010 at 8:28 PM, John Andersen <[email protected]>wrote:

> I'll rephrase my question, can you show me the SQL description of the
> store_types table, like this:
> [code]
> CREATE TABLE `store_types` (
>        `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
>        `name` VARCHAR(40) NOT NULL,
>        PRIMARY KEY (`id`)
> )
> [/code]
>
> I ask because I want to be sure that the table has a primary key named
> "store_type_id"!
>
> Another option is to try to leave out the fields parameter and see
> what you then get!
> Enjoy,
>   John
>
> On May 12, 7:38 am, Ambika Kulkarni <[email protected]>
> wrote:
> > In store_types tbl primary key is store_type_id
> >
> [snip]
>
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to