function rate_update_7201 in Rate 7.2
Add rate_widget_element.mode field.
File
- ./
rate.install, line 275 - Main install tasks and update tasks for the Rate module.
Code
function rate_update_7201() {
if (!db_field_exists('rate_widget_element', 'mode')) {
$schema = drupal_get_schema_unprocessed('rate');
db_add_field('rate_widget_element', 'mode', $schema['rate_widget_element']['fields']['mode']);
}
}