function search_autocomplete_update_7403 in Search Autocomplete 7.4
Add data_view field (update from 3.x to 4.x).
File
- ./
search_autocomplete.install, line 258 - This file is used to install/update/delete the module tables in database
Code
function search_autocomplete_update_7403(&$sandbox) {
if (!db_field_exists('search_autocomplete_forms', 'data_view')) {
db_add_field('search_autocomplete_forms', 'data_view', array(
'description' => 'Internal callback view',
'type' => 'varchar',
'length' => 255,
'default' => 'nodes_autocomplete',
));
}
}