#19755 closed enhancement (maybelater)
Redundant blog_versions table
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Multisite | Version: | 3.0 |
| Severity: | minor | Keywords: | has-patch dev-feedback |
| Cc: |
Description
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.
Attachments (1)
Change History (5)
johnbillion — 17 months ago
comment:1
johnbillion — 17 months ago
- Keywords has-patch dev-feedback added
I believe wordpress.com and some other big multisite hosts use it for managing upgrades. That's not necessarily a reason the keep the table, but core might someday find blog_versions valuable if we ever improve the currently very lame network upgrade process.
- Milestone Awaiting Review deleted
- Resolution set to maybelater
- Status changed from new to closed
That's not necessarily a reason the keep the table, but core might someday find blog_versions valuable if we ever improve the currently very lame network upgrade process.
Agreed.

Patch just in case, and because I've not done a patch which changes the DB schema before. Hopefully it's all present and correct.