You are here

function pet_update_6002 in Previewable email templates 6

Add new columns to {pets}.

File

./pet.install, line 138
Previewable E-mail Template module install/schema/update hooks.

Code

function pet_update_6002() {
  $ret = array();
  db_add_field($ret, 'pets', 'from_override', array(
    'type' => 'varchar',
    'length' => '255',
    'not null' => FALSE,
    'default' => '',
  ));
  db_add_field($ret, 'pets', 'cc_default', array(
    'type' => 'text',
    'not null' => FALSE,
    'size' => 'medium',
    'default' => '',
  ));
  db_add_field($ret, 'pets', 'bcc_default', array(
    'type' => 'text',
    'not null' => FALSE,
    'size' => 'medium',
    'default' => '',
  ));
  return $ret;
}