[wp-trac] [WordPress Trac] #14513: Time for a wp_post_relationships table?
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 9 22:57:43 UTC 2012
#14513: Time for a wp_post_relationships table?
-----------------------------+-------------------------
Reporter: mikeschinkel | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Post Types | Version: 3.0.1
Severity: normal | Resolution: maybelater
Keywords: |
-----------------------------+-------------------------
Comment (by sc0ttkclark):
Sorry, got distracted with a fire while editing.
{{{
CREATE TABLE wp_relationships (
rel_id bigint(20) AUTO_INCREMENT,
object_id bigint(20),
related_id bigint(20),
object_type varchar(25),
related_type varchar(25)
)
}}}
The column names can be whatever, but you get the picture. Having a way to
know what type each object they are is what I was after.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14513#comment:107>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list