Hello!
I faced a lot of situations when only one update should be executed (for example, developing new update, updating module and receiving a problems with newest version and etc.). So, I implemented a new drush command "drush execute-update" ("drush exup") which executes chosen update using "drush updb" methods.
Some of used methods were refactored to add an "do not change schema version" option.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Evgeny_Yudkin created an issue. See original summary.

Evgeny_Yudkin’s picture

Evgeny_Yudkin’s picture

Evgeny_Yudkin’s picture

Status: Active » Needs review
Evgeny_Yudkin’s picture

Just removed one extra "else".

kala4ek’s picture

Status: Needs review » Needs work

@Evgeny,

You patch is pretty good but I think will be perfect if you add confirmation for non-last updates (Like "Schema version is 7005. Are you sure that you want to call devel_update_7002?").

moshe weitzman’s picture

Status: Needs work » Closed (won't fix)

Thanks.

This should be its own Contrib. I wont accept it as part of devel or drush core since this is a very risky action.