summaryrefslogtreecommitdiff
path: root/modules/node/node.schema
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.schema')
-rw-r--r--modules/node/node.schema3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/node/node.schema b/modules/node/node.schema
index aa6d3343c..30e70bf9c 100644
--- a/modules/node/node.schema
+++ b/modules/node/node.schema
@@ -5,7 +5,7 @@ function node_schema() {
$schema['node'] = array(
'fields' => array(
'nid' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE),
- 'vid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => FALSE, 'default' => 0),
+ 'vid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0),
'type' => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
'language' => array('type' => 'varchar', 'length' => 12, 'not null' => TRUE, 'default' => ''),
'title' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''),
@@ -21,7 +21,6 @@ function node_schema() {
'translate' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
),
'indexes' => array(
- 'nid' => array('nid'),
'node_changed' => array('changed'),
'node_created' => array('created'),
'node_moderate' => array('moderate'),