You are here

function newsletter_update_7100 in Newsletter 7

Add field to newsletter_list to support lists configurable on roles.

File

./newsletter.install, line 636
Contains install,uninstall and update functions for Newsletter module.

Code

function newsletter_update_7100(&$sandbox) {
  db_add_field('newsletter_list', 'role', array(
    'description' => 'Which roles to send this list to.all for all roles.',
    'type' => 'int',
    'length' => 10,
    'not null' => FALSE,
    'default' => NULL,
  ));
}