search for: attributes_widgets

Displaying 1 result from an estimated 1 matches for "attributes_widgets".

2005 Oct 14
1
join tables and position (acts_as_list)
...in PostgreSQL): CREATE TABLE widgets ( id serial, "position" int, -- for all widgets ordering name text, description text, etc. etc...); CREATE TABLE attributes ( id serial, "position" int, -- for all attributes ordering name text, description text, etc. etc...); CREATE TABLE attributes_widgets ( "position" int, -- for attributes per given widget ordering widget_id int references widgets (id), attribute_id int references attributes (id), etc. etc... ); Phil