You are here

function imce_schema in IMCE 6.2

Implementation of hook_schema().

File

./imce.install, line 38
Installs, updates, and uninstalls IMCE.

Code

function imce_schema() {
  $schema['imce_files'] = array(
    'description' => 'Stores files created by IMCE.',
    'fields' => array(
      'fid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
        'description' => 'The {files}.fid that belongs to IMCE.',
      ),
    ),
    'primary key' => array(
      'fid',
    ),
  );
  return $schema;
}