You are here

function facetapi_update_7104 in Facet API 7

Add hash field to facetapi table.

File

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

Code

function facetapi_update_7104() {
  $spec = array(
    'type' => 'varchar',
    'length' => 32,
    'not null' => TRUE,
    'default' => '0',
    'description' => 'Unique hash ID for facet.',
  );
  db_add_field('facetapi', 'hash', $spec);
}