You are here

function content_access_schema in Content Access 6

Same name and namespace in other branches
  1. 8 content_access.install \content_access_schema()
  2. 7 content_access.install \content_access_schema()

Implementation of hook_schema().

File

./content_access.install, line 23

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;
}