[wp-trac] [WordPress Trac] #19755: Redundant blog_versions table

WordPress Trac noreply at wordpress.org
Thu Sep 19 22:06:52 UTC 2019


#19755: Redundant blog_versions table
-------------------------+------------------------
 Reporter:  johnbillion  |       Owner:  whyisjake
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.3
Component:  Multisite    |     Version:  3.0
 Severity:  minor        |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  multisite
-------------------------+------------------------
Changes (by whyisjake):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46194" 46194]:
 {{{
 #!CommitTicketReference repository="" revision="46194"
 Multisite: Remove the redundant `blog_versions` table.

 As part of the Multisite installation process, a `blog_versions` table is
 created. This table is never read from (except immediately prior to
 updating it), it's only ever inserted into or updated. It is not used to
 determine which blogs need to be upgraded.
 This table was introduced in 3.0 when the WPMU schema was merged #11644
 and it appears the table has never been used in core and is therefore
 redundant and may as well be removed.

 Props johnbillion, nacin, ryan, johnjamesjacoby, whyisjake.

 Fixes #19755. See #41685.
 }}}

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


More information about the wp-trac mailing list