You are here

function search_api_exclude_schema in Search API exclude 7

Implements hook_schema().

File

./search_api_exclude.install, line 11
Install, update and uninstall functions for the Search API Exclude module.

Code

function search_api_exclude_schema() {
  $schema['search_api_exclude'] = array(
    'description' => 'Stores the nodes which are excluded from indexing.',
    'fields' => array(
      'nid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
    ),
    'primary key' => array(
      'nid',
    ),
  );
  return $schema;
}