From 2c8be9cba593381368bf04cb1ca0c74b26997157 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Mon, 4 Jul 2011 10:09:25 -0700 Subject: [PATCH] And the .install file for the test. You'd think I wouldn't forget that TWICE, but you would be wrong. --- modules/node/tests/node_access_test.install | 42 +++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 modules/node/tests/node_access_test.install diff --git a/modules/node/tests/node_access_test.install b/modules/node/tests/node_access_test.install new file mode 100644 index 000000000000..6b3ef5dcc295 --- /dev/null +++ b/modules/node/tests/node_access_test.install @@ -0,0 +1,42 @@ +<?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 -- GitLab