Question

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?

Was it helpful?

Solution

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).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top