function rules_scheduler_update_6100 in Rules 6
Implementation of hook_update_N(). Adds an identifier field to the table.
File
- rules_scheduler/
rules_scheduler.install, line 72 - Rules Scheduler - Installation file.
Code
function rules_scheduler_update_6100() {
$spec = array(
'type' => 'varchar',
'length' => '255',
'default' => '',
'not null' => FALSE,
'description' => t('The user defined string identifying this task.'),
);
$ret = array();
db_add_field($ret, 'rules_scheduler', 'identifier', $spec);
drupal_set_message(t('Notice: concrete scheduling dates have to be specified in GMT now, so be aware to add out your local timezone!'));
return $ret;
}