summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-09-26 18:31:34 +0000
committerDries Buytaert <dries@buytaert.net>2007-09-26 18:31:34 +0000
commitbe091880f44459e934b04525dfe312d573ac40a7 (patch)
tree7629a39fc451573d7b19353766cb222258579adc /modules/comment
parent9a0cbf62e195f2178bc503fb085e1ed4d37471ad (diff)
downloadbrdo-be091880f44459e934b04525dfe312d573ac40a7.tar.gz
brdo-be091880f44459e934b04525dfe312d573ac40a7.tar.bz2
- Patch #124979 by chx: remove the auto_increment.
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.schema2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.schema b/modules/comment/comment.schema
index acbbbfd6d..057e55d96 100644
--- a/modules/comment/comment.schema
+++ b/modules/comment/comment.schema
@@ -28,7 +28,7 @@ function comment_schema() {
$schema['node_comment_statistics'] = array(
'fields' => array(
- 'nid' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE),
+ 'nid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0),
'last_comment_timestamp' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
'last_comment_name' => array('type' => 'varchar', 'length' => 60, 'not null' => FALSE),
'last_comment_uid' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),