function content_access_schema in Content Access 7
Same name and namespace in other branches
- 8 content_access.install \content_access_schema()
- 6 content_access.install \content_access_schema()
Implements hook_schema().
File
- ./
content_access.install, line 20 - Content access install file.
Code
function content_access_schema() {
$schema['content_access'] = array(
'fields' => array(
'nid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'settings' => array(
'type' => 'text',
'not null' => FALSE,
'size' => 'medium',
),
),
'primary key' => array(
'nid',
),
);
return $schema;
}