You are here

function imce_dir_man_schema in IMCE Tools 6

Same name and namespace in other branches
  1. 7 imce_dir_man/imce_dir_man.install \imce_dir_man_schema()

File

imce_dir_man/imce_dir_man.install, line 11

Code

function imce_dir_man_schema() {
  $schema['imce_dir_man'] = array(
    'fields' => array(
      'uid' => array(
        'type' => 'int',
        'not null' => TRUE,
        'description' => "User's {users}.uid.",
      ),
      'dir' => array(
        'type' => 'varchar',
        'not null' => TRUE,
        'length' => '255',
        'description' => 'Directory path restriction relative to site root',
      ),
    ),
    'primary key' => array(
      'uid',
      'dir',
    ),
  );
  return $schema;
}