It would be best to use an auto increment id as primary key in this
case.

Regards,
Vijay

On Nov 2, 4:51 am, cronet <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i'm getting Data from a XML Service which i need to store locally.
> But now i don't know what DB Structure (esp. Prim Key) to choose...
>
> e.G.
>
> descriptiontype_id
> description
> language
>
> descriptiontype_id is not unique. Each descriptiontype_id has
> different languages.
>
> So what to choose as PrimaryKey resp. what does cakephp choose as
> primarykey ?!
>
> Perhaps is the solution simply alter the db structure and add an
> autoincremented id ?!
>
> What do you mean?
>
> Regards,
> Alexander


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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