[wp-trac] Re: [WordPress Trac] #5183: General Meta-Data Table

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 22 13:26:52 GMT 2009


#5183: General Meta-Data Table
-----------------------------------------+----------------------------------
 Reporter:  filosofo                     |        Owner:  anonymous     
     Type:  enhancement                  |       Status:  reopened      
 Priority:  normal                       |    Milestone:  Future Release
Component:  General                      |      Version:  2.3           
 Severity:  normal                       |   Resolution:                
 Keywords:  needs-patch meta-table meta  |  
-----------------------------------------+----------------------------------

Comment(by Denis-de-Bernardy):

 see also #10233, closed as dup

 Replying to [ticket:10233 scribu]:
 > Over time, there have been requests for category metadata, comment
 metadata and even link metadata.
 >
 > In one of the more [http://comox.textdrive.com/pipermail/wp-
 hackers/2009-June/026584.html recent discussions] on this topic, a generic
 metadata table has been proposed.
 >
 > I also think that this is the way to go forward: instead of having a
 separate table for each object type, just have a single, generic, plugin
 friendly table.
 >
 > This table would have the following columns:
 >
 >
 > {{{
 > object_id
 > object_type
 > meta_id
 > meta_key
 > meta_value
 > }}}
 >
 >
 > It's basically the same as the current postmeta and usermeta, except
 that post_id and user_id are replaced with object_id. Also, a new column
 'object_type' would simplify lookups.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/5183#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list