[wp-trac] [WordPress Trac] #26801: Ability to drop table columns using dbDelta()

WordPress Trac noreply at wordpress.org
Thu Jan 9 20:16:19 UTC 2014


#26801: Ability to drop table columns using dbDelta()
-------------------------+------------------------------
 Reporter:  toszcze      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Database     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by nacin):

 This feels a bit dangerous to include in such a shaky function.

 We actually don't drop columns in WordPress unless we absolutely need to.
 When we've "dropped" columns in the post table over the years, for
 example, we've just left them on old installs.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26801#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list