I think better to make one table for all content types. And make a content_type column or something. It will be faster and easier to work with such model.
On 8 нояб, 01:06, Marcus Silva <[EMAIL PROTECTED]> wrote: > Hi folks, > > I am trying to create system which will let users upload media to the > server, the question that I ask is weather using a single table to > store the uploaded files is better than using separate tables to store > each file type in terms of coding. > > Seems to me that if I use the multiple table I will be creating > exactly the same data, but in a different table. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
