function styles_update_7202 in Styles 7.2
Add the field_type column to the {styles} table.
File
- ./
styles.install, line 164 - Install, update and uninstall functions for the Styles module.
Code
function styles_update_7202() {
db_add_field('styles', 'field_type', array(
'description' => 'The field type.',
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
));
db_add_index('styles', 'field_type', array(
'field_type',
));
}