function themekey_css_update_7100 in ThemeKey 7.3
Implements hook_update_N().
Update themekey_css_rules table: add css_group and css_weight columns.
File
- themekey_css/
themekey_css.install, line 63 - Database schema of
Code
function themekey_css_update_7100() {
$css_group = array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => 'CSS_DEFAULT',
);
$css_weight = array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
);
db_add_field('themekey_css_rules', 'css_group', $css_group);
db_add_field('themekey_css_rules', 'css_weight', $css_weight);
}