“Drush up” runs updates automatically
题
In a Drupal site, I ran "Drush up" to upgrade some modules though I didn't want to upgrade all so I chose to back out of it. However, Drush still ran the databases updates automatically. Is this usual behavior?
When it came to Do you wish to run all pending updates? (y/n):
"y" was filled in by Drush. How can this be disabled?
解决方案
Update code only is drush pm-updatecode
or pm upc
for short.
drush up
= Update Drupal core and contrib projects and apply any pending database updates (Same as pm-updatecode + updatedb).
不隶属于 StackOverflow