You are here

function simplenews_scheduler_update_6005 in Simplenews Scheduler 6.2

Implementation of hook_update_N(). // attempt to change to pgsql compatible strings // #970942

File

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

Code

function simplenews_scheduler_update_6005() {
  $ret = array();
  db_change_field($ret, 'simplenews_scheduler', 'stop', 'stop_type', array(
    'type' => 'int',
    'not null' => TRUE,
  ));
  db_change_field($ret, 'simplenews_scheduler', 'interval', 'send_interval', array(
    'type' => 'varchar',
    'length' => 10,
  ));
  return $ret;
}