core-command icon indicating copy to clipboard operation
core-command copied to clipboard

Improve DB update commands

Open schlessera opened this issue 6 years ago • 0 comments
trafficstars

We currently have a command wp core update-db that sometimes needs to be run after an update of Core.

It would be great to have a mechanism to check whether an update is actually needed.

Also, both commands might make more sense as wp db ... commands, instead of wp core ... commands.

Suggestion:

wp db check-update     Checks for the need for WordPress database updates.
wp db update           Runs the WordPress database update procedure.

Related issue: https://github.com/wp-cli/wp-cli/issues/5085

cc @swissspidy

schlessera avatar Sep 11 '19 13:09 schlessera