/
bogdanov
/
carparking.pro
Обзор
Документация
Войти
/
bogdanov
/
carparking.pro
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
modules/node/tests/node_access_test.install
42 строки
1 KB
Andrey Bogdanov
rev. 2006
06 июл 2025, 01:44
06 июл 2025, 01:44
605d019
Код
Авторство
О чём код?
<?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; }