You are here

function simplenews_update_5001 in Simplenews 6

Same name and namespace in other branches
  1. 5 simplenews.install \simplenews_update_5001()
  2. 6.2 simplenews.install \simplenews_update_5001()

Addition of node version to simplenews_newsletters in order to record the node version which is being send.

File

./simplenews.install, line 310
Simplenews installation.

Code

function simplenews_update_5001() {
  $ret = array();
  db_add_field($ret, 'simplenews_newsletters', 'vid', array(
    'type' => 'int',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}