You are here

function mandrill_template_update_7001 in Mandrill 7

Same name and namespace in other branches
  1. 7.2 modules/mandrill_template/mandrill_template.install \mandrill_template_update_7001()

Extends the mailsystem_key field to support longer template key names.

File

modules/mandrill_template/mandrill_template.install, line 121
Install, update and uninstall functions for the mandrill_template module.

Code

function mandrill_template_update_7001() {
  db_change_field('mandrill_template_map', 'mailsystem_key', 'mailsystem_key', array(
    'description' => 'The mailsystem_key that is using this mandrill_template_map.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => FALSE,
    'default' => '',
  ));
}