You are here

function apachesolr_multilingual_textfile_schema in Apache Solr Multilingual 6

Same name and namespace in other branches
  1. 6.2 apachesolr_multilingual_textfile/apachesolr_multilingual_textfile.install \apachesolr_multilingual_textfile_schema()

Implementation of hook_schema().

File

apachesolr_multilingual_textfile/apachesolr_multilingual_textfile.install, line 34
Database schema of

Code

function apachesolr_multilingual_textfile_schema() {
  $schema['apachesolr_multilingual_textfiles'] = array(
    'description' => 'apachesolr_multilingual_textfiles',
    'fields' => array(
      'nid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
        'description' => "apachesolr_multilingual_textfiles nid",
      ),
      'vid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'description' => "apachesolr_multilingual_textfiles vid",
      ),
      'filename' => array(
        'description' => 'the filename',
        'type' => 'text',
        'not null' => TRUE,
        'size' => 'big',
      ),
    ),
    'primary key' => array(
      'nid',
      'vid',
    ),
  );
  return $schema;
}