function activity_update_6202 in Activity 6.2
Update {activity} table to have the actions_id field. @see: http://drupal.org/node/463854
File
- ./
activity.install, line 234
Code
function activity_update_6202() {
$ret = array();
db_add_field($ret, 'activity', 'actions_id', array(
'description' => 'Foreign key to the actions table.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '0',
), array(
'indexes' => array(
'actions_id' => array(
'actions_id',
),
),
));
return $ret;
}