[wp-hackers] Metadata Mess
Malaiac
malaiac at gmail.com
Tue Dec 22 11:41:20 UTC 2009
2009/12/22 Jacob Santos <wordpress at santosj.name>:
> id,
> object_type
> object_id
> key_name
> key_value
>
> Could easily replace the 3 tables that currently exist. Of course, it might
> seem slow that object_type would be varchar and usually a number index will
> be faster, but at this point, I'll rather go with anything.
if we're going in that direction, _PLEASE_ make object_type an ENUM
and not a VARCHAR. People who are going to use new objects types are
fluent enough to ALTER the ENUM.
More information about the wp-hackers
mailing list