imce_dir_man.install 457 B

123456789101112131415
  1. <?php
  2. /**
  3. * Implements hook_schema()
  4. */
  5. function imce_dir_man_schema() {
  6. $schema['imce_dir_man'] = array(
  7. 'fields' => array(
  8. 'uid' => array('type' => 'int', 'not null' => TRUE, 'description' => "User's {users}.uid."),
  9. 'dir' => array('type' => 'varchar', 'not null' => TRUE, 'length' => '255', 'description' => 'Directory path restriction relative to site root'),
  10. ),
  11. 'primary key' => array('uid', 'dir'),
  12. );
  13. return $schema;
  14. }