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