Index: guestbook.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/guestbook/guestbook.install,v retrieving revision 1.9 diff -u -p -r1.9 guestbook.install --- guestbook.install 16 Aug 2008 22:52:06 -0000 1.9 +++ guestbook.install 24 Sep 2008 15:08:40 -0000 @@ -7,60 +7,16 @@ function guestbook_schema() { $schema['guestbook'] = array( 'fields' => array( - 'id' => array( - 'type' => 'serial', - 'unsigned' => TRUE, - 'not null' => TRUE, - ), - 'recipient' => array( - 'type' => 'int', - 'unsigned' => TRUE, - 'not null' => TRUE, - 'default' => 0, - ), - 'author' => array( - 'type' => 'int', - 'unsigned' => TRUE, - 'not null' => TRUE, - 'default' => 0, - ), - 'anonname' => array( - 'type' => 'varchar', - 'length' => '128', - 'not null' => FALSE, - ), - 'anonemail' => array( - 'type' => 'varchar', - 'length' => '128', - 'not null' => FALSE, - ), - 'anonwebsite' => array( - 'type' => 'varchar', - 'length' => '128', - 'not null' => FALSE, - ), - 'message' => array( - 'type' => 'text', - 'not null' => TRUE, - 'default' => '', - ), - 'commentauthor' => array( - 'type' => 'int', - 'unsigned' => TRUE, - 'not null' => TRUE, - 'default' => 0, - ), - 'comment' => array( - 'type' => 'text', - 'not null' => TRUE, - 'default' => '', - ), - 'created' => array( - 'type' => 'int', - 'unsigned' => TRUE, - 'not null' => TRUE, - 'default' => 0, - ), + 'id' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE), + 'recipient' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), + 'author' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), + 'anonname' => array('type' => 'varchar', 'length' => '128', 'not null' => FALSE), + 'anonemail' => array('type' => 'varchar', 'length' => '128', 'not null' => FALSE), + 'anonwebsite' => array('type' => 'varchar', 'length' => '128', 'not null' => FALSE), + 'message' => array('type' => 'text', 'not null' => TRUE), + 'commentauthor' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), + 'comment' => array('type' => 'text', 'not null' => TRUE), + 'created' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), ), 'indexes' => array( 'recipient' => array('recipient'),