Skip to content
Snippets Groups Projects
Commit 2c8be9cb authored by Angie Byron's avatar Angie Byron
Browse files

And the .install file for the test. You'd think I wouldn't forget that TWICE,...

And the .install file for the test. You'd think I wouldn't forget that TWICE, but you would be wrong.
parent aa0aa460
No related branches found
No related tags found
No related merge requests found
<?php
/**
* @file
* Install, update and uninstall functions for the node_access_test module.
*/
/**
* Implements hook_schema().
*/
function node_access_test_schema() {
$schema['node_access_test'] = array(
'description' => 'The base table for node_access_test.',
'fields' => array(
'nid' => array(
'description' => 'The {node}.nid this record affects.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'private' => array(
'description' => 'Boolean indicating whether the node is private (visible to administrator) or not (visible to non-administrators).',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
),
'indexes' => array(
'nid' => array('nid'),
),
'primary key' => array('nid'),
'foreign keys' => array(
'versioned_node' => array(
'table' => 'node',
'columns' => array('nid' => 'nid'),
),
),
);
return $schema;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment