function recipe_update_6100 in Recipe 7
Same name and namespace in other branches
- 6 recipe.install \recipe_update_6100()
- 7.2 recipe.install \recipe_update_6100()
Adds weight column to recipe_node_ingredient
File
- ./
recipe.install, line 228 - Install, update and uninstall functions for the recipe module.
Code
function recipe_update_6100() {
db_add_field('recipe_node_ingredient', 'weight', array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
));
}