September 2013

Whenever I want to make a change to the database on multiple environments I will use the recommended hook_update_N method within my_module.install.

But, what if, while on the dev environment, you discover your update hook didn't do what you wanted it to do and now needs to be modified? Modifying a function and testing it can be done easily but these update_N hooks only get fired once. Meaning, you would have to either increment N to be higher (hook_update_N+1) or change your schema_version within the system table for my_module.install.

Or you can use drush...