function bean_admin_ui_update_7002 in Bean (for Drupal 7) 7
Add description column to bean
File
- bean_admin_ui/
bean_admin_ui.install, line 117 - Install files
Code
function bean_admin_ui_update_7002() {
// Add the description column.
$spec = array(
'description' => 'Block description.',
'type' => 'text',
'size' => 'big',
);
db_add_field('bean_type', 'description', $spec);
return t('Added description field to beans.');
}