If you ever need to run an update hook again with drush you can often do this:
drush eval "module_load_instal('module_name'); module_name_update_7012();"
But! If that update is run as a batch then that won't work. So instead you can do this:
drush eval "drupal_set_installed_schema_version('module_name', '7011');"
drush updb
Which effectively rolls the module back to it's old version number.
Now, that saves you faffing about in the DB.
Hi Dan!
Very useful. Neatly solves a problem that I was having.
I would like to run a few thoughts past you, if I may.
Problem:
My solution in an
install.shscript:Thoughts? Or is there another way to skin this cat?
Thanks heaps!
James