You are here

function search_autocomplete_update_7404 in Search Autocomplete 7.4

Update default values from data_source: now view by defaut.

File

./search_autocomplete.install, line 274
This file is used to install/update/delete the module tables in database

Code

function search_autocomplete_update_7404(&$sandbox) {
  db_change_field('search_autocomplete_forms', 'data_source', 'data_source', array(
    'description' => 'Should data come from callback or from static resource',
    'type' => 'varchar',
    'length' => 255,
    'default' => 'view',
  ));
}