[wp-hackers] Meta tables: Take 5

scribu scribu at gmail.com
Wed Aug 5 18:11:39 UTC 2009

Jennifer, I have tested that case and it seems dbDelta is smart enough
to leave enums alone.

Anyway, the register_meta() is already included in my proposed patch
and it would be called on upgrades and plugin activations.

I don't think it would be so unconvenient to use it, given the
performance advantage.

On 8/5/09, Jennifer Hodgdon <yahgrp at poplarware.com> wrote:
> Mike Schinkel wrote:
>> On Aug 5, 2009, at 4:38 AM, Ozh wrote:
>>> To me the main & valid argument against ENUM is that, as stated in the
>>> original ticket [1], it gives much more flexibility to plugins which
>>> can create arbitrary values without modifying core table structure.
>> "Modifying core table structure" is not of itself an evil, at least not
>> that I'm aware of.
> If a plugin alters core tables, it might make updating to a new
> version of WP problematic, because I think the update script will
> revert the DB structure to what WP wants by default.
>     --Jennifer
> --
> Jennifer Hodgdon * Poplar ProductivityWare
> www.poplarware.com
> Drupal, WordPress, and custom Web programming
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list