You are here

function themekey_update_7103 in ThemeKey 7.3

Same name and namespace in other branches
  1. 7.2 themekey.install \themekey_update_7103()

Implements hook_update_N().

File

./themekey.install, line 578
Database schema of

Code

function themekey_update_7103() {
  db_add_field('themekey_properties', 'module', array(
    'description' => 'The name of the module that created this entry.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  ));
  db_update('themekey_properties')
    ->fields(array(
    'module' => 'themekey',
  ))
    ->execute();
  return t('Update of ThemeKey ran successfully');
}