node_access_example.install

Install, update, and uninstall functions for the node_access_example module.

File

node_access_example/node_access_example.install

View source
<?php


/**
 * @file
 * Install, update, and uninstall functions for the node_access_example module.
 */


/**
 * Implements hook_schema().
 */
function node_access_example_schema() {
  $schema['node_access_example'] = array(
    'description' => 'Example table for node_access_example module',
    '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;
}

Functions

Title Deprecated Summary
node_access_example_schema Implements hook_schema().