You are here

function recipe_update_6100 in Recipe 6

Same name and namespace in other branches
  1. 7.2 recipe.install \recipe_update_6100()
  2. 7 recipe.install \recipe_update_6100()

Adds weight column to recipe_node_ingredient

File

./recipe.install, line 285
Install, update and uninstall functions for the recipe module.

Code

function recipe_update_6100() {
  $ret = array();
  db_add_field($ret, 'recipe_node_ingredient', 'weight', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}