WordPress / meta-environment

A collection of scripts that provision the official WordPress.org websites into a Varying Vagrant Vagrants installation.
189 stars 72 forks source link

Plugin Directory: Missing tables #57

Open ocean90 opened 8 years ago

ocean90 commented 8 years ago

I get a few database errors because of missing tables:

SELECT downloads FROM wporg_367_stats WHERE stamp >= '2016-06-02' AND plugin_slug = 'broken-link-checker'
Table 'wordpressorg_dev.wporg_367_stats' doesn't exist

SELECT downloads FROM wporg_367_stats WHERE stamp >= '2016-06-01' AND stamp < '2016-06-02' AND plugin_slug = 'broken-link-checker'
Table 'wordpressorg_dev.wporg_367_stats' doesn't exist

SELECT SUM(downloads) FROM wporg_367_stats WHERE stamp >= '2016-05-26' AND plugin_slug = 'broken-link-checker'
Table 'wordpressorg_dev.wporg_367_stats' doesn't exist

SELECT downloads FROM `wporg_367_download_counts` WHERE topic_id = (SELECT topic_id FROM `wporg_367_topics` WHERE topic_slug = 'broken-link-checker' )
Table 'wordpressorg_dev.wporg_367_download_counts' doesn't exist

SELECT user FROM `wporg_367_svn_access` WHERE path = '/broken-link-checker'
Table 'wordpressorg_dev.wporg_367_svn_access' doesn't exist

Should we add them?

cc: @obenland

obenland commented 8 years ago

We probably should eventually

iandunn commented 7 years ago

it doesn’t look like there’s anything in the code that creates those tables, were they just created manually on production?

iandunn commented 7 years ago

We need to do a refresh of the database anyway, since there's been a lot of progress in the last 6 months, so we can just include all the custom tables at that time.

grappler commented 7 years ago

The only table missing error that I getting now is for wordpressorg_dev.locales

https://github.com/WordPress/meta-environment/issues/90