Austin Smith

Do it like Rails: Version your Drupal Database with hook_update

Friday, July 17, 2009 - 10:21 AM

At The Economist, we've been struggling some to keep our database changes 100% in code. We're required to automate everything using hook_update and hook_install. We don't want to be pushing database imports around, and we want our build scripts to create a current database for testing purposes. Also, we want to see how the database is changing over time. How we do it? The answer might not surprise you--the Rake of Drupal is Drush.

2 comments Keep reading >>