You are here

function simplenews_scheduler_update_6006 in Simplenews Scheduler 6.2

Add the title field to the scheduler table.

File

./simplenews_scheduler.install, line 204
Install and uninstall functions for the Simplenews Scheduler module.

Code

function simplenews_scheduler_update_6006() {
  $ret = array();
  $field = array(
    'description' => 'The title of new edition nodes.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
    'initial' => '[title]',
  );
  db_add_field($ret, 'simplenews_scheduler', 'title', $field);
  return $ret;
}