You are here

function search_files_schema in Search Files 7.2

Same name and namespace in other branches
  1. 6.2 search_files.install \search_files_schema()

@file Installation and update procedures for the search_files module.

File

./search_files.install, line 8
Installation and update procedures for the search_files module.

Code

function search_files_schema() {
  $schema['search_files_helpers'] = array(
    'description' => 'list of programs that translate the file to test to be indexed',
    'fields' => array(
      'id' => array(
        'type' => 'serial',
        'not null' => TRUE,
        'disp-width' => '11',
      ),
      'name' => array(
        'type' => 'varchar',
        'length' => '50',
        'not null' => FALSE,
      ),
      'extension' => array(
        'type' => 'varchar',
        'length' => '10',
        'not null' => FALSE,
      ),
      'helper_path' => array(
        'type' => 'varchar',
        'length' => '255',
        'not null' => FALSE,
      ),
    ),
    'indexes' => array(
      'id' => array(
        'id',
      ),
    ),
  );
  return $schema;
}