You are here

function private_schema in Private 6

Same name and namespace in other branches
  1. 7.2 private.install \private_schema()
  2. 7 private.install \private_schema()

File

./private.install, line 3

Code

function private_schema() {
  $schema['private'] = array(
    'fields' => array(
      'nid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ),
      'private' => array(
        'type' => 'int',
        'not null' => TRUE,
        'default' => 0,
      ),
    ),
    'primary key' => array(
      'nid',
    ),
  );
  return $schema;
}