function path_access_schema in Path Access 7
Same name and namespace in other branches
- 6 path_access.install \path_access_schema()
Implementats of hook_schema().
File
- ./
path_access.install, line 6
Code
function path_access_schema() {
$schema['path_access'] = array(
'fields' => array(
'pid' => array(
'type' => 'serial',
'not null' => TRUE,
),
'rid' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'pages' => array(
'type' => 'text',
),
'visibility' => array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
),
),
'indexes' => array(
'rid' => array(
'rid',
),
),
'primary key' => array(
'pid',
),
);
return $schema;
}