You are here

function simplenews_update_6002 in Simplenews 6.2

Same name and namespace in other branches
  1. 6 simplenews.install \simplenews_update_6002()

Addition of node version to simplenews_newsletters in order to record the node version which is being send. Addition of nid to simplenews_mail_cache to be able to check the newsletter sent status.

File

./simplenews.install, line 539
Simplenews installation.

Code

function simplenews_update_6002() {
  $ret = array();
  db_add_field($ret, 'simplenews_mail_cache', 'nid', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  variable_del('simplenews_time');
  return $ret;
}