[development] relationships API vs i18n

Angela Byron drupal-devel at webchick.net
Fri Nov 10 03:14:16 UTC 2006


On 9-Nov-06, at 8:21 PM, Jeremy Epstein wrote:

> It would be good to support relations between entities of any type,
> not just nodes. So instead, we could have:
>
> CREATE TABLE relation (
>  type char(12),
>  id1 int,
>  type1 char(12),
>  id2 int,
>  type2 char(12),
>  weight int
> );

Would a "module" field here also be helpful, so you know which module  
set the relation? And a "name" field perhaps? (maybe that's getting a  
little too frilly ;))


More information about the development mailing list