You are here

function facetapi_update_7101 in Facet API 7

Same name and namespace in other branches
  1. 7.2 facetapi.install \facetapi_update_7101()

Increase the length of the facetapi.facet column.

File

./facetapi.install, line 204
Install, update, and uninstall functions for the Facet API module.

Code

function facetapi_update_7101() {

  // Change the length of the facet field.
  db_change_field('facetapi', 'facet', 'facet', array(
    'description' => 'The machine readable name of the facet.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  ));
}