[wp-trac] [WordPress Trac] #44856: does remove database column(field) in each update core?

WordPress Trac noreply at wordpress.org
Wed Jul 3 06:45:36 UTC 2019


#44856: does remove database column(field) in each update core?
-------------------------+----------------------
 Reporter:  hamedmoodi   |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Database     |     Version:
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |     Focuses:
-------------------------+----------------------
Changes (by pento):

 * keywords:  close =>
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 You can certainly add custom columns to your table: WordPress won't remove
 columns when upgrading. It'd be a good idea to prefix your column names
 with something unique (eg, `myplugin_birthday`, rather than just
 `birthday`), so that it doesn't clash with WordPress Core in the future.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44856#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list