You are here

function pdfthumb_schema in PDFThumb 7

Implements hook_schema().

File

./pdfthumb.install, line 56
Install, update and uninstall functions for the PDFThumb module.

Code

function pdfthumb_schema() {
  $schema['pdfthumb'] = array(
    'fields' => array(
      'pdffid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ),
      'fid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ),
    ),
  );
  return $schema;
}