[wp-hackers] post_status and post_type
ryan at boren.nu
Thu Feb 9 22:31:27 GMT 2006
Owen Winkler wrote:
> Ryan Boren wrote:
>> Behold the changeset of destruction.
> Curious on this one point:
> Why is post_type a varchar(100) and not an enum('post','page',
> 'attachment')? Wouldn't that be faster?
The varchar is used for portability and flexibility. We might change
all occurences of enums to varchars. Those porting WordPress to other
DBs curse our use of enums.
More information about the wp-hackers