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

WordPress Trac noreply at wordpress.org
Thu Jan 9 19:05:15 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       |   Keywords:
-------------------------+-----------------------------
 dbDelta() function doesn't drop columns that don't exist in the creation
 queries, but exist in the database.

 I've attached a patch that adds this feature. Dropping columns is optional
 and disabled by default (it can be enabled by using the
 'dbdelta_drop_columns' filter).

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


More information about the wp-trac mailing list