You are here

function uc_dropdown_attributes_update_7000 in Dropdown Attributes 7

Adds the html field to {uc_dropdown_attributes}.

File

./uc_dropdown_attributes.install, line 100
Install, update, and uninstall functions for the uc_dropdown_attributes module.

Code

function uc_dropdown_attributes_update_7000() {
  $spec = array(
    'type' => 'text',
    'not null' => TRUE,
    'initial' => '',
    'size' => 'normal',
    'description' => 'HTML code for attribute.',
  );
  db_add_field('uc_dropdown_attributes', 'html', $spec);
}