Chris,

Take a look at these[1][2]. Maybe it helps (maybe not)

Regards,

-- 
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net

[1]
http://digitalspaghetti.tooum.net/switchboard/blog/2487:Discovering_Single_Table_Inheritance
[2]
http://www.ifisgeek.com/tutorials/implementing_single_table_inheritance_in_cakephp

On Dec 21, 2007 8:04 AM, Chris Hawes <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I'm currently designing a database for an app I'm writing, and have a
> question on something.
>
> I have four tables: tasks, contacts, documents and companies.
>
> Multiple tasks can be assigned to either a contact, document or company.
>
> The problems is, I don't want to limit myself to just three tables,
> and I'd rather not have contact_id, document_id and company_id in my
> tasks table.
>
> What would be the best way around this? Does the answer lie with
> bindModel() ?
>
> Thanks in advance!
>
> Chris.
>
> P.S. I hope everyone has a great Christmas, and a good 2008 baking
> lots of cool stuff!
>
> >
>


-- 
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net

--~--~---------~--~----~------------~-------~--~----~
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